Deleting css block should remove it from html

Hi @martin, is it possible to remove custom css which gets added as html class, when we delete the css block from the style section.

or a button in the Options panel to delete css block from there itself, just like the option to create or edit it.

thanks.

2 Likes

Thank you for the suggestion! One issue with the automatic removal of CSS classes when deleting a block from the Styles tab is that this behavior could break people’s JavaScript or other styles which rely on that class. But a delete button in the Appearance tab could work. We will look into this.

alright, thank you for your reply.