Hi. So I extended the basic schema to include an “underline” mark, whose toDOM and parseDOM return tags. My task right now is parsing Markdown into a prosemirror document node, and so I created a custom MarkdownParser
new Markdown.MarkdownParser(schema, markdownit(“commonmark”, {html: false}), { …, underline: {mark: “underline”} });
This doesn’t parse, however, the tags to be an underline mark, so the editor is still showing the tags. I’m just wondering how to set this up properly? Thanks.