Not possible to undo a block style #11613
Labels
[Feature] Extensibility
The ability to extend blocks or the editing experience
[Feature] History
History, undo, redo, revisions, autosave.
[Feature] Theme Style Variations
Related to style variations provided by block themes
[Type] Enhancement
A suggestion for improvement.
Milestone
Is your feature request related to a problem? Please describe.
If a block only has a single block style, it's not possible to remove that block style after you've selected it. You always need to add some sort of "default" style as well.
For example, I added a new "Pretitle" style for paragraphs like so:
When I now write some text, everything works as usual. Once I choose the "Pretitle" stye, it will be styled a bit differently. But after that, there's no way for me to undo this selection.
I tried things like clicking on the selected style again in the hopes that this would remove the style again, but with no lock.
That means I need to register a default style that I can switch back to:
This second style would not be styled by me or anything because it should keep the default styles of the editor/theme.
Describe the solution you'd like
If I add a style variant to a block which hasn't had one before, a default style option could be added automatically in the background.
Alternatively there could be a "Reset style" button or something that would restore the default block style.
The text was updated successfully, but these errors were encountered: