I am working on an app that has a blog component, and I have spent hours looking for a pre-packages WYSIWYG html editor that plays nice with Meteor and React.
I have tried several that I found, but most haven’t been updated in months, and none of them use ES6 imports. I had Medium Editor working, butI can’t seem to get any of the extensions to work, namely the CustomHtml extension so I can add my own buttons.
I think tried AlloyEditor, but I can’t seem to figure out how to import it.
Has anyone found anything worth while that simply works out of the box?
Oops, misunderstood the post. Some people have used Facebook’s Draft.js to build some stuff, maybe check those out (just do a search). Draft.js is pretty intense and low-level, so I wouldn’t expect to use that directly, unless you want to spend a good several hours building your own WYSIWYG component.
I’ll check it out. I was trying to avoid having to write something myself or having to force something to work w/ React in a way that was not intuitive.
I’m looking at using react quill for a project. Is is possible to add custom buttons to it at all? Also, what was the benefit of using react-quill over the normal quill.js - noob q: i don’t understand why have the wrapper at all as quill can be brought in directly with npm right?
I personally do not export to html at all, instead, i use the read-only-mode of megadraft to display the content. An editor of the page can do in-place-editing (by setting the editor to write-mode)