Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

New Draft-JS version breaks backspace key #38

Open
SullyJHF opened this issue May 4, 2021 · 0 comments
Open

New Draft-JS version breaks backspace key #38

SullyJHF opened this issue May 4, 2021 · 0 comments

Comments

@SullyJHF
Copy link

SullyJHF commented May 4, 2021

New Draft JS 0.11 adds a new parameter (eventTimestamp) to the handleKeyCommand function: handleKeyCommand
This causes the plugin to throw an error whenever you press the backspace key because it's tring to find setEditorState in a number. PR #34 will fix this issue.

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

No branches or pull requests

1 participant