Custom CSS Removed When Using Rich Text Editor? | Community
Skip to main content
June 22, 2016
Question

Custom CSS Removed When Using Rich Text Editor?

  • June 22, 2016
  • 2 replies
  • 3060 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Jason_Hamilton1
Level 6
June 23, 2016

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

Hope this is helpful.

Jason

Nicholas_Manojl
Level 8
June 23, 2016

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?