Writing flow: Select all doesn't work when focused on a non-text input #32713
Labels
[Feature] Block Multi Selection
The ability to select and manipulate multiple blocks
[Feature] Writing Flow
Block selection, navigation, splitting, merging, deletion...
Description
"Select all" doesn't select all blocks when focused on an
input
element type that doesn't support selection ranges, such ascheckbox
.Step-by-step reproduction instructions
<input type="checkbox" />
to the edit component of a Core block, such asCode
.Expected behaviour
All blocks are selected, as if I were focused on any other non-text tabbable element like
<button>
.Actual behaviour
All the text in the window is selected.
Screenshots or screen recording (optional)
WordPress information
Latest
trunk
in wp-env container.Device information
Intelligent support for this behavior would require a more advanced system to classify
input
elements, because some types do have built-in Select All behavior (e.g.number
) but don't support selection range attributes.The text was updated successfully, but these errors were encountered: