Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backspace is not working in version 2.28.0 #2793

Open
naveed-eutech opened this issue Jul 23, 2024 · 3 comments
Open

Backspace is not working in version 2.28.0 #2793

naveed-eutech opened this issue Jul 23, 2024 · 3 comments
Labels

Comments

@naveed-eutech
Copy link

when pressing backspace on EditorJS version 2.28.0, the key doesn't do anything.

@WolfBearGames
Copy link

I might have a related problem:
In lists and in tables hitting backspace or delete sometimes moves the caret to a different list item or table cell instead of deleting.
The problem seems to only happen when backspace/delete is the first key one hits, when newly focussing something. After typing a letter backsapce/delete seem to work correctly.

@naveed-eutech
Copy link
Author

naveed-eutech commented Jul 25, 2024

For us, it doesn't seem to work anytime. When we are typing new text and press backspace, the backspace space key just doesn't work. We tried adding an event-handler to catch the backspace key press and remove blocks from data array. But its just removes focus from editor, and one has to click on editor back to start entering text.

@naveed-eutech
Copy link
Author

It turned out to be a parent window blocking the backspace event. We did a window.removeAllEventListeneres() to remove all events from the window object, and backspace started to work. Still wondering why backspace was working on other input elements on the same page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants