This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Option+Space to be handled on OSX Chrome (#1254)
Summary: **Summary** Currently pressing Option+Space in Chrome on OSX will cause a nonbreaking space to always be inserted into the editor. This behavior ignores any key bindings that the editor has set. This change moves the logic which adds the non breaking space to after the point that the key binding function has been run in order to give editors a chance to handle this behavior on their own. **Test Plan** This has been tested manually since there are no current tests for the event handlers and no current framework for testing the handlers. We have been running [with this change in our fork of Draft](textioHQ@f4c3aeb) for about seven months without issue. Pull Request resolved: #1254 Differential Revision: D10241854 fbshipit-source-id: b8fe92a4f76bbb7543efdb3e5deca1dbdbc0960c
- Loading branch information