This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix block tree before/after comparison
Summary: In some cases, we need to prevent native insertion because native insertion would leave the decorators in the wrong place (and critically – editOnInput's attempt to patch things up would just make things worse and process the insertion twice). This new logic should be correct. Previously, typing '#' before 'f' in 'x #foo' would result in 'x ###foo' (extra '#' inserted). Reviewed By: mitermayer Differential Revision: D7941738 fbshipit-source-id: eeff55ff082fc80c19f76fe1ea915bcbf0e7d86e
- Loading branch information
1 parent
a1f4593
commit fa88ee1
Showing
2 changed files
with
143 additions
and
13 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
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