-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Command Palette: Site editor-related commands appear in non-block themes #52154
Copy link
Copy link
Closed
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Package] Commands/packages/commands/packages/commands[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
For non-block themes, the Site Editor is not accessible, but the command palette allows site editor-related commands to be executed. As a result, if you execute a command, you will receive a message indicating that access is not allowed.
Ideally, I think these commands should be disabled for non-block themes.
Step-by-step reproduction instructions
- Go to Appearance > Themes and activate non block theme (i.e Twenty Twenty)
- Add new post
- Open "Command Center" using keyboard short cut. Windows: Ctrl + k / Mac: ⌘ + K
- Type "Templates" and click on "Open Templates" link. You will be redirected to WordPress page.
Screenshots, screen recording, code snippet
2ba8527326f8cb91c5776f098819a1c4.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")Related to the overarching Site Editor (formerly "full site editing")[Package] Commands/packages/commands/packages/commands[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.