-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching back to Defaul Block Style not possible #23264
Comments
On my initial tests, I don't reproduce but maybe there's something I'm missing here. @adamziel Any idea here whether it could be related to the default class removal or the refactorings that happened? |
Do you mean that clicking an already active block style does not toggle it off? |
Maybe it's because of my custom theme.. can't reproduce it with the twenty twenty theme either. |
@silvanarnet Thank you for reporting! The default style is one of the styles listed in the block inspector: To "remove" a style and restore the default one, you simply have to select the style marked as default - it's meant to remove any style-related classes from the block. I am not sure how to reproduce the issue - do you mean what @oxyc asked? Or do you mean switching back to the default style does not remove the CSS class? Would you mind posting a screen capture gif showing the exact process you're following? |
Ah gotcha! It sounds like the same issue as #24147 - the good news is that it was just fixed a few days ago. |
Describe the bug
Since Version 8.3.0 it's not possible to remove a selected Block Style, unless removing the additional css class by hand.
To reproduce
Steps to reproduce the behavior:
Expected behavior
like in version 8.2.1 or by clicking again on the block style selector (would be nice)
Screenshots
If applicable, add screenshots to help explain your problem.
Editor version (please complete the following information):
The text was updated successfully, but these errors were encountered: