-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Feature] Command Palette[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Package] Commands/packages/commands/packages/commands[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
Adding media from one's media library is a rote and common action in the block editor. Currently to do so from the inserter panel it takes 4 clicks:
- One to open the panel
- One to select the "media" tab
- One to choose the media source ("library", "openverse", and so on)
- One to insert the media
This is a somewhat tedious flow with low discoverability.
What is your proposed solution?
This feels like an appropriate use of the Editor Command Palette, which could contain a unique command for each media source:
- Insert image from media library
- Insert image from Openverse
- Insert image from Pexels
The language "Insert" is probably not ideal, because these actions would merely be opening the appropriate media tab in the inserter panel. I'm not a copywriter, though 😊
As a prerequisite, there is not yet a command to "Toggle block inserter". It might make sense for that command to exist before what are essentially "sub commands" within the inserter exist.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Command Palette[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Package] Commands/packages/commands/packages/commands[Type] EnhancementA suggestion for improvement.A suggestion for improvement.