Re: Custom CSS Removed When Using Rich Text Editor?

Anonymous
Not applicable

Custom CSS Removed When Using Rich Text Editor?

I created a guided landing page template with custom CSS that works perfectly fine. Besides the form, the only two elements I made editable were the title text and body text next to the form. When I created a landing page using this template, I went to edit the title and body text in the rich text editor, and everything looked correct in the edit mode. But when I approved the page and previewed it, all of my custom styles were removed from the text.

This is not the first time this has happened to someone on my team, so it's been a recurring issue. I've attached images to show what it looks like in both the editing and approved views.

Is there something I'm missing to make my custom CSS work?

2 REPLIES 2
Jason_Hamilton1
Level 8 - Champion Alumni

Re: Custom CSS Removed When Using Rich Text Editor?

Which version of the text editor are you using the newer on or the legacy?

I have seen issues when using the newer one.

If you are using the new one switch back to the legacy one and see if your problem persists.

You can do this via Admin>Email>Edit Test Editor Setting

Screenshot-editor.png

Hope this is helpful.

Jason

Nicholas_Manojl
Level 9

Re: Custom CSS Removed When Using Rich Text Editor?

If you look at the HTML of the editor, I bet you'll see lots of <span> tags.

Did you use the "clear formatting" button in the text editor?