Hello,
I created a simplified Glitch :・゚✧ to demonstrate a drag and drop problem I’m having.
Nodes in the schema are the following and I’m also using prosemirror-dropcursor plugin:
-
docnode allows oneouterNode. -
outerNodeallows one or moreinnerNode. -
innerNodeallows one or moreparagraph.
When dragging innerNodes inside outerNode I can see the drop cursor and dropping works as it should by the schema restrictions.
However, innerNodes seem to be visually draggable outside the outerNode too, even not allowed by the schema. Dropping those there throws Uncaught TypeError: Cannot read property 'nodeSize' of undefined.
So wondering if I’m missing something in the schema to prevent this from happening, or could this be a bug?
