Displaying 1 to 14 from 14 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.

react-lz-editor - A multilingual react rich-text editor component includes media support such as texts, images, videos, audios, links etc


An open source react rich-text editor ( mordern react editor includes media support such as texts, images, videos, audios, links etc. ), development based on Draft-Js and Ant-design, good support html, markdown, draft-raw mode. It's supports multiple languages well and welcome you add your language supports. Disabled media insert feature on demo page, because of there was no online API support for the time being, here is The server side API demo in java you may want.




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.

backdraft-js - Simple function to turn a Draft.js RawDraftContentBlock into a marked-up string.


Simple function to turn a Draft.js RawDraftContentBlock into a marked-up string. markup is an object, the key should be the DraftJS "style" identifier and the value should be an array: the first item will be appended to the output to "open" the style and the second tag will be appended to "close" the style. See "Usage" above for a simple example.

draft-js-code-editor-plugin - Add IDE-like behaviours to code blocks in your DraftJS editors


Add IDE-like behaviours to code blocks in your DraftJS editor. Meant to be used with draft-js-plugins. Note: If you're not using draft-js-plugins you can also use the lower-level draft-js-code library.

draft-js-prism-plugin - Add syntax highlighting support to your DraftJS editor


A DraftJS plugin to add syntax highlighting support to your code blocks. Use in combination with draft-js-plugins. This code uses the draft-js-prism decorator by @SamyPesse and is based on code extracted from the draft-js-markdown-shortcuts-plugin by @ngs.