It will show the runtime error Unhandled Runtime Error
NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
Despite showing content in editor, editor is not returning any value
Expected behavior
If it got error while paste, editor should allow to handle inside onPaste function or don't show any content on editor.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Pasting content with image from wiki A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior If it got error while paste, editor should allow to handle inside onPaste function or don't show any content on editor.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context "suneditor": "^2.45.1", "suneditor-react": "^3.6.1", "next": "13.4.4", "react": "18.2.0",