Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Disabling of Editor Command Palette #62337

Open
MadtownLems opened this issue Jun 5, 2024 · 5 comments
Open

Allow Disabling of Editor Command Palette #62337

MadtownLems opened this issue Jun 5, 2024 · 5 comments
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Package] Commands /packages/commands [Type] Enhancement A suggestion for improvement.

Comments

@MadtownLems
Copy link

What problem does this address?

6.6-beta-1 looks to include the Command Palette in the Post Editor. This addition looks to be very confusing for our users, and provides very little - if any - benefit. We'd really like to not have to educate our large number of content providers on it, especially if the education ends up being: "Just ignore it"

What is your proposed solution?

Add a filter, ideally through block_editor_settings_all (https://developer.wordpress.org/reference/hooks/block_editor_settings_all/) that lets users easily disable the Editor Command Palette.

@MadtownLems MadtownLems added the [Type] Enhancement A suggestion for improvement. label Jun 5, 2024
@talldan talldan added [Feature] Extensibility The ability to extend blocks or the editing experience [Package] Commands /packages/commands labels Jun 6, 2024
@annezazu
Copy link
Contributor

Just a quick note that the command palette has been available in the post editor for quite some time (since 6.3). It's not new to 6.6.

@MadtownLems
Copy link
Author

Just a quick note that the command palette has been available in the post editor for quite some time

Correct - but 6.6 makes it prominently displayed at the top of the post editor. This will definitely be the first time that any of our content providers are aware of it, and shown to hit Ctrl+K to open it

2024-06-11 12_07_03-Window

@annezazu
Copy link
Contributor

Yes! That's part of the work done here with 6.6: #52632 It's important to note though what's new for each release when deciding what can be fixed or changed in this beta period hence the note from yours truly :)

@ndiego
Copy link
Member

ndiego commented Jul 15, 2024

Add a filter, ideally through block_editor_settings_all (https://developer.wordpress.org/reference/hooks/block_editor_settings_all/) that lets users easily disable the Editor Command Palette.

I agree. There should be Editor setting that controls whether the Command Palette is available or not. This setting should default to true, but allow developers to disable it in specific Editor contexts.

@MadtownLems
Copy link
Author

To complicate this issue, I learned that the only way to go "Back" from "Edit Original" pattern exists in the Command Palette. If disabling the Command Palette is supported, there should be an alternative method to go 'back' to the page/post you were working on in that context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Extensibility The ability to extend blocks or the editing experience [Package] Commands /packages/commands [Type] Enhancement A suggestion for improvement.
4 participants