-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Feature] Block settings menuThe block settings screenThe block settings screen[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
In #50273 the List View added right click behaviour to open up the block settings menu when right-clicking on a list view item. Which other areas in Gutenberg could benefit from a Gutenberg-specific right-click contextual menu? This issue is to gather ideas, potential designs, and discuss concerns or benefits of the feature.
Some ideas:
- In the editor canvas, open up the block settings menu
- In the editor canvas, use right click to allow inserting a block or pattern anywhere within the canvas, without having to click on the block inserter / appender button
- In data views (e.g. pages within the site editor), open up the actions menu to allow quickly editing or deleting pages
Benefits
- Easy access to block-specific controls and actions
- More easily perform quick actions like duplicating and deleting blocks
- Potentially more easily insert a block at any arbitrary location
Considerations
The browser's contextual menu includes many controls that users rely on when editing content. If considering replacing in the editor canvas with a custom contextual menu, some things to watch out for:
- Needs cut/copy/paste controls for partial selection
- Needs select all button
- Open link in new window behaviour
- Some folks might depend on the speech or services options under the browser's contextual menu
MadtownLems
Metadata
Metadata
Assignees
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Feature] Block settings menuThe block settings screenThe block settings screen[Type] EnhancementA suggestion for improvement.A suggestion for improvement.