-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move navigation and selection logic to WritingFlow (#19397)
* WritingFlow: absorb navigation logic from block * Move selection and navigation logic to WritingFlow * Use getBlockClientId in useMultiSelection * Fix block dragging * Fix focus after escape to nav mode * Remove IgnoreNestedEvents * Add getBlockClientId docs * Restore tabindex comment * Fix nested block appender click * Move focus and drag handling * Create root container for block list * Polish * Conditionally bind block event handlers * Ensure multiselection has 2 items before selecting * Update packages/block-editor/src/utils/dom.js Co-Authored-By: Andrew Duthie <andrew@andrewduthie.com> * Adjust onFocus comment Co-authored-by: Andrew Duthie <andrew@andrewduthie.com>
- Loading branch information
Showing
10 changed files
with
259 additions
and
355 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
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
Oops, something went wrong.