Skip to content

unclechu/purescript-react-rich-text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

purescript-react-rich-text-editor

PureScript FFI bindings for "react-rte" package.

It's work in progress, not published on pursuit yet, but it's working, I have used it in production. For now you can dirty copy-paste it or use as git-submodule.

Requirements

Usage example

Keep in mind that this example requires purescript-react-spaces.

value <- createValueFromString "some initial text" Markdown

--

onChange value = do
  log $ valueToString value Markdown
  --

--

richTextEditor ^ (richTextEditorDefaultProps value)
  { placeholder = toNullable $ Just "Type text here"
  , onChange    = toNullable $ Just $ handle onChange
  }

Author

Viacheslav Lotsmanov

License

MIT

About

PureScript FFI bindings for "react-rte" package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy