Command Palette: Site editor-related commands appear in non-block themes #52154
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Package] Commands
/packages/commands
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
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
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
The text was updated successfully, but these errors were encountered: