Hello,
I am new to prosemirror and came up with an error which I cannot figure out. I am using a custom schema and prosemirror-markdown as I have custom markup as well. When I am typing I see the error below looks like multiple versions of prosemirror-model were loaded. However, if I use defaultMarkdownParser everything is ok, my custom schema is not to blame, can look exactly the same as the one in prosemirror-markdown and I still receive an error. The check nodes instanceof Fragment fails although it should not.
let schema = new Schema(β¦); new EditorView(container, { state : EditorState.create({ doc: (new MarkdownParser(schema, β¦)).parse(markup) }) })
index.es.js?a958:322 Uncaught RangeError: Can not convert <βTesting a bolddβ> to a Fragment (looks like multiple versions of prosemirror-model were loaded) at Function.from (index.es.js?a958:322) at NodeType.create (index.es.js?a958:1950) at NodeContext.finish (index.es.js?304a:2731) at ParseContext.finish (index.es.js?304a:2997) at DOMParser.parse (index.es.js?304a:2566) at parseBetween (index.es.js?576a:2387) at readDOMChange (index.es.js?576a:2446) at DOMObserver.eval (index.es.js?576a:3121) at DOMObserver.flush (index.es.js?576a:3039) at MutationObserver.DOMObserver.observer (index.es.js?576a:2912)
Can you please help me with this one?