Removing CSS-Classes when saving a Text Block in the editor - Forum | JoomShaper
Staff replied SP Page Builder

Removing CSS-Classes when saving a Text Block in the editor

Asked by Roland Grillenberger 1 year ago Last activity 1 year ago

Hello,

how can I avoid an assigned class (e.g. in the <span> tag) being removed when saving content in the editor of a Text Block?

Thanks for your help and best regards
Roland

4 replies

Roland Grillenberger Asked this

This is true if you make changes to the “source code”. If I add a class in the source code and then change something later in the source code, it is retained.

But if I add a span with a class in source code and later change and save something in the wysiwyg editor, the class is lost in the source code.

https://prnt.sc/cfXE1HXn-WL0

Toufiq Senior Staff

Share your code & i will check it my end. Thanks

Roland Grillenberger Asked this

Log in to reply.