-
Notifications
You must be signed in to change notification settings - Fork 4.8k
"Custom CSS" in Command Palette for non-block themes #73408
Copy link
Copy link
Open
Labels
[Feature] Command Palette[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
We have a 'hybrid' theme, that uses theme.json and the block editor, but isn't a block theme. When testing out the Command Palette everywhere, I saw "Open Custom CSS" in it. Clicking on it takes me to the site editor and there's an error immediately: "You attempted to edit an item that doesn't exist. Perhaps it was deleted?"
As far as I can tell, there's no other way to get to this screen with menus - only the command palette.
If I save some custom CSS, leave the page and return, I still get the error about editing an item that doesn't exist.
Step-by-step reproduction instructions
- Use a site with a hybrid theme (theme.json but not a block theme)
- Open the command palette and click "Open Custom CSS"
Screenshots, screen recording, code snippet
No response
Environment info
- WordPress 6.9-RC2, no Gutenberg plugin
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] Command Palette[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.