forked from editor-js/list-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding detect key events and fixing back space issue
The backspace update from editor-js#95 worked, but the event listeners are lost when the toggleTune is invoked. This PR adds the listeners back after the tune is invoked. The listeners are lost because replaceWith does not propogate the existing listeners to the new element.
- Loading branch information
1 parent
a6dc6a6
commit ba4b604
Showing
1 changed file
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters