Theme.json schema: Remove CSS from block style variations and elements #52217
Labels
CSS Styling
Related to editor and front end styles, CSS-specific issues.
[Type] Bug
An existing feature does not function as intended
Description
According to the schema, theme.json allows using "css" under
styles > blocks >block name > variations > variation name > css
, andstyles > elements > element > css.
However, this is not implemented yet, the CSS is not applied in the editors or the front,
and I expect there to be a warning in my code editor if theme.json includes this feature.
Step-by-step reproduction instructions
In theme.json, try to apply custom CSS to a block variation and element.
Note that there are no warnings, and that the styles are not applied in the editor and front.
Example:
Screenshots, screen recording, code snippet
No response
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: