Giter Site home page Giter Site logo

Comments (3)

WolfBearGames avatar WolfBearGames commented on August 20, 2024

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.

naveed-eutech avatar naveed-eutech commented on August 20, 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.

from editor.js.

naveed-eutech avatar naveed-eutech commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.