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 one
outerNodeallows one or more
innerNodeallows one or more
outerNode I can see the drop cursor and dropping works as it should by the schema restrictions.
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?