I’ve added an inline schema node type for embeded content with
The embeded div block may contain an iframe as for example a google maps iframe.
<div data-oembed="https://..."> <iframe ..></iframe> </div>
When rendering the node I just clone a dom node from outside of the editor and return it within in the
Now, if I set the iframes
pointer-events:none style, and try to drag the node I expect
nothing to happen, but somehow the node disappears.
I’am pretty new to Prosemirror and don’t know if this type of node rendering is intended and causes this strange drag issue (I don’t need collaborative support in the editor). Beside the drag issue it seems to work fine. Also I’am not sure about the
atom node settings in this case.