Displaying 1 to 10 from 10 results

react-rte - Pure React rich text "WYSISYG" editor based on draft-js.


This is a UI component built completely in React that is meant to be a full-featured textarea replacement similar to CKEditor, TinyMCE and other rich text "WYSIWYG" editors. It's based on the excellent, open source Draft.js from Facebook which is performant and production-tested. RichTextEditor is the main editor component. It is comprised of the Draft.js <Editor>, some UI components (e.g. toolbar) and some helpful abstractions around getting and setting content with HTML/Markdown.




draft-convert - Extensibly serialize & deserialize Draft.js ContentState with HTML.


Extensibly serialize Draft.js ContentState to HTML.styleToHTML, blockToHtml, and entityToHTML are functions that take Draft content data and may return a ReactElement or an object of shape {start, end} defining strings for the beginning and end tags of the style, block, or entity. entityToHTML may return either a string with or without HTML if the use case demands it. blockToHTML also may return an optional empty property to handle alternative behavior for empty blocks. To use this along with a ReactElement return value an object of shape {element: ReactElement, empty: ReactElement} may be returned. If no additional functionality is necessary convertToHTML can be invoked with just a ContentState to serialize using just the default Draft functionality. convertToHTML can be passed as an argument to a plugin to modularly augment its functionality.

gatsby-starter-procyon - An opinionated Gatsby starter designed for trash-eating pandas.


An opinionated Gatsby starter designed for trash-eating pandas. View Demo - https://gatsby-starter-procyon.netlify.com/ Click "Login" in the footer to enable client-side editing. Email: demo@demo.com Password: demo You'll get an error when trying to save changes to remote, but you get the idea...


draft-js-table - Utilities to edit tables in DraftJS


draft-js-table is a collection of utilities to edit tables in DraftJS. This module requires the use of facebook/draft-js#388. A working demo is available at samypesse.github.io/draft-js-table/.

draft-js-basic-html-editor - Basic HTML editor using draft.js - html in, html out


Proof of concept currently, not production ready! PR's welcome. Extends the Rich example from the Draft repo to accept html as its input format, and return html to an onChange handler.