3 ms·
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
by bhl 2y ago
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.