News for hackers. Stuff that matters.
Re:My pain building a WYSIWYG editor with contenteditable by pier25 on Saturday September 18, 2021 @10:28AM (#28576530)
ProseMirror is probably the best option out there, but I found it pretty hard to wrap my head around its API.

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.

https://github.com/PierBover/prosemirror-cookbook

Re:My pain building a WYSIWYG editor with contenteditable by thomasikzelf on Saturday September 18, 2021 @12:57PM (#28577599)
> 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.

That was also my experience. Your examples would've helped me a lot a couple of months ago. Thanks for writing it down!

Re:My pain building a WYSIWYG editor with contenteditable by pier25 on Sunday September 19, 2021 @09:34PM (#28589576)
My pleasure.

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.