jodit/jodit-react

onDelete error when select and delete an image

d4n4mp opened this issue · 1 comments

When I select and press delete or backspace on keyboard, the app brokeand show:

Compiled with problems:
×
ERROR
Node element must be in editor
TypeError: Node element must be in editor
at t.error (http://localhost:3000/static/js/bundle.js:315794:20)
at e.select (http://localhost:3000/static/js/bundle.js:317071:50)
at t.onDelete (http://localhost:3000/static/js/bundle.js:328430:78)
at HTMLDivElement. (http://localhost:3000/static/js/bundle.js:328387:109)
at HTMLDivElement.y (http://localhost:3000/static/js/bundle.js:314217:85)

Any suggest?

same here i am receiving this error on delete using keyboard delete button.