Re:Quill v2 – Rich text editor
by notyoutube on Saturday April 20, 2024 @02:43AM
(#40095362)
Isn't the "flat markup" for inline elements in prosemirror kind of unnatural to work on html?
Nothing is built into ProseMirror except for the text span.
For a definition list, you’d probably want two node types: a definition list, and a definition list item.
And then create toDOM and parseDOM methods to render and parse respectively the html you want.
That said, prosemirror's got a pretty steep learning curve.