FormidableLabs / use-editable

A small React hook to turn elements into fully renderable & editable content surfaces, like code editors, using contenteditable (and magic)
MIT License
483 stars 13 forks source link

Fix keyboard handling in Firefox #24

Open gilleswaeber opened 2 years ago

gilleswaeber commented 2 years ago

Hello, this PR fixes two issues related to keyboard handling: backspace not working in Firefox at the beginning of a line and capturing ctrl+backspace (delete word)

Thanks for this project