Comments (3)
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.
from editor.js.
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.
from editor.js.
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.
from editor.js.
Related Issues (20)
- Chrome error when EditorJs is loaded in an iframe
- Feature request: ability to drag multiple blocks that are highlighted HOT 1
- Is there an AI Assistant plugin? HOT 3
- Caret/Cursor jumping to other contenteditable fields when using backspace/delete key
- Cannot find compiled file HOT 1
- ce-block--stretched class not applied to parent on editor load HOT 1
- renderFromHTML removes <br> tags HOT 1
- Angular 18 context (second menu - please see video attached) collapsed HOT 1
- When pasting multiple rows from whatsapp/facebook the break lines disappear
- editor.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'normalize')
- How to block onChange events HOT 2
- Will be nice to have id's on block-removed onChange event
- Get onPaste() event information in render()
- Block API insert and insertMany don't support BlockTunes
- BlockToolAdapter and configs error still persists + warnings
- Issue with NestedList and List types for EditorJS HOT 1
- Is there a place for moving up, moving down, and deleting configuration shortcuts
- The sanitize of the save method and the convert to method interfere with each other
- `yarn install` fails with error: "Couldn't find any versions for `@editorjs/helpers` that matches `workspace:*`" in Docker container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editor.js.