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.
Perform untab on backspace for nested items
Summary: For nested lists, when we backspace at the start of a nested item we want to perform the same action as if we hit `Shift + Tab`. * Abstract out the untab logic to use in both `onTab` and `onBackspace`. * No regression in untab (`Shift + Tab`) behavior. * Backspace on a nested block untabs it (diagrams below) {F139898511} Reviewed By: claudiopro Differential Revision: D10118538 fbshipit-source-id: d6b95bd6ca85f6b9443d54de38e1e15bbfc81eba
- Loading branch information
1 parent
7daa87e
commit 0688fa3
Showing
3 changed files
with
502 additions
and
110 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
Oops, something went wrong.