Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Block Editor: Remove block inserter shortcuts #19045
This pull request seeks to remove the block inserter "shortcuts" which would previously appear when hovering the "appender" area below the list of blocks in the block editor.
Needs Design/Accessibility Feedback: It is proposed that they be removed due to:
Their removal yields a simplification, both in the technical implementation and to the benefit of users in reducing the surface area of block insertion options.
Verify there are no regressions in the insertion of blocks, specifically in using the "default" appender, which is expected to show either when:
(It's acknowledged that the above logic flow is still prone to confusion, which could be addressed in subsequent improvements surrounding #10519)
The "+" button should still be shown where the "shortcuts" would have previously been expected to appear, to the left of the block list.
I never use the inserter shortcut buttons. The slash inserter is faster and more useful.
I'd go a step further and change the empty Paragraph inserter to look the same as it does for nested blocks, since having the icon to the left and outside of the block border is kind of confusing.
Do you think this would be fine for a follow-up pull request, or is the need for this directly impacted by the removal of the shortcuts? Given the likelihood that discussions surrounding #10519 can stagnate, I'm inclined to push for more incremental steps.
I sense what you're suggesting is similar to what was explored in #11329, which was closed in part due to lingering questions around (intentional?) differences between top-level and nested block inserters (#11329 (comment)).