My pain building a WYSIWYG editor with contenteditable
answerly.io
answerly.io
The ProseMirror API is quite low-level-feeling for many use cases, however, and TipTap [2] is doing a good job of building a friendlier wrapper around it.
That said, neither of these are perfect and there are bugs here and there, especially on mobile devices, but they’re better than any other solution I’ve seen so far.
I don’t remember what I found in Slate, however, and it’s possible it may be much better now.
As I’d said, they all have bugs, including ProseMirror. I just found that PM solved most of the ones I cared about relatively well.
The docs are detailed and exhaustive but did not help me much understand how to actually use it. I had to read Marijns code which I found hard to follow.
I started this introduction to PM (which is incomplete since I stopped using it) but I think will help anyone trying to use it.
That was also my experience. Your examples would've helped me a lot a couple of months ago. Thanks for writing it down!
I'm actually a bit embarrassed that I abandoned it considering it's my most starred repo... but I haven't touched PM in months and don't have much time to pick it up again.
The bulk of my time was spent removing text formatting on paste, and Safari bugs.