Blocks can get published without a Style, but once you select a Style, you can never de-select a Style #37897
Labels
[Feature] Theme Style Variations
Related to style variations provided by block themes
General Interface
Parts of the UI which don't fall neatly under other labels.
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Enhancement
A suggestion for improvement.
[Type] Question
Questions about the design or development of the editor.
Description
Take, for example, the Table Block - which has Default and Stripes as Styles by default.
If I add a Table Block to a Page and publish it, I have a Table with no style selected.
(with no is-style-xxx)However, once I click on Default or Stripes, I can never NOT have a style selected again. The UI simply doesn't support it. I can only toggle between the two Styles.
This feels incredibly inconsistent. Either I should be able to have a Table Block with no style (and be able to select that in the UI), or I should NOT be able to have a style-less Table Block and one should always be applied. I should NOT be permanently locked into a Style once I try one.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.8.3 (and 5.9-RC2). Not using the Gutenberg plugin. Confirmed on 2021 theme.
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: