Closed MarioRodriguezS closed 10 months ago
This PR basically reverts the changes introduced in PR https://github.com/kommitters/editorjs-undo/pull/168 which was merged to fix this issue https://github.com/kommitters/editorjs-undo/issues/167... 🤔
fix #213
Description
This pull request changes the way that the pressed key is obtained from the event listener, it replaces
event.code
withevent.key
in order to obtain the real key pressed in any keyboard distribution.