draft-js-basic-html-editor
draft-js-basic-html-editor copied to clipboard
Basic HTML editor using draft.js - html in, html out
new pr
fixed bugs with link parsing, highlighting, fixed bug with init from empty state. upgrade to last versions of libruries. Thanks for cool editor. Be happy
I want to build a more customizable draft-based editor for my client work, and this was the most reasonable starting point that I found. I have a few separate goals...
I hope you can add text alignment support to this component. : - )
Support for line breaks is needed, especially in code blocks. Probably best to use the meta key (e.metaKey) modifier to add line breaks instead of creating a new block. Code...
Integrate https://github.com/SamyPesse/draftjs-prism for code highlight
This doesn't work well at all, behaviour is inherited from rich text example Within a code block we should strip formatting and just paste raw text