As a follow-up to: How do I override the default CKEditor configuration?
The issue
We have a custom email template that uses <html>
, <head>
, <body>
. When using either the CKEditor main 'email body' editor, or the standard textarea when creating a custom header/footer, these tags are stripped out.
Is this a combination of CKEditor and CiviCRM both stripping out these tags separately?
I've tried...
I originally tried adding the CKEditor config option fullPage=true
. This works, but automatically adds <html>
, <head>
, <body>
to every CKEditor instance (cross-posted here) .
But then I spotted that the <html>
, <head>
, <body>
tags are also stripped if used within header and footer templates, as described in this forum post. And these fields do not use CKEditor.