Follow

Tags outside of <HTML> are moved when editor is toggled (CKEditor)

Question:

In cases where a template references an RSS feed or uses the SET function to control data formatting, we insert the code at the top of the message, above the <HTML> tag. 

Why do the tags move into the <HEAD> of the content when the WYSIWYG editor is toggled on and off later?  This causes the email to render with no content.

Answer:

It is important to include all HTML code between valid HTML tags.  If you switch between using the WYSIWYG editor and the code editor view, the CKEditor will try to intelligently correct the HTML code.  The editor does not allow anything it considers illegal outside the HTML document.  The RSS and SET tags do not break the layout of a template, and should be included either within the <HEAD> or <BODY> HTML tags.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk