Removing CSS-Classes When Saving A Text Block In The Editor - Question | JoomShaper

Removing CSS-Classes When Saving A Text Block In The Editor

RG

Roland Grillenberger

SP Page Builder 11 months 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

0
5 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 11 months ago #175649

Hi there,

Thank you for reaching out. I have checked your issue on my end and no problem found.

Without span tag

https://prnt.sc/u9GJfsABcNR8

With span tag saved and it remains perfectly.

https://prnt.sc/akKYQCJ6poDz

https://prnt.sc/gZCrc0IuuVxe

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
RG
Roland Grillenberger
Accepted Answer
11 months ago #175769

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 11 months ago #175780

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

0
RG
Roland Grillenberger
Accepted Answer
11 months ago #175906

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 11 months ago #175957

Share this code here

https://prnt.sc/NJaa2u2noccI

0