jodit / jodit-react

React wrapper for Jodit
MIT License
354 stars 118 forks source link

onDelete error when select and delete an image #226

Open d4n4mp opened 1 year ago

d4n4mp commented 1 year ago

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?

kerocode commented 1 year ago

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