-->
Welcome, Guest
Username: Password: Remember me
You can also tweak your setup of Dolibarr by setting hidden configurations found in Dolibarr Setup Other

TOPIC: CKEditor stripping HTML tags

CKEditor stripping HTML tags 4 days 21 hours ago #38169

Greetings, all,

I have constructed an email template using custom HTML that I'd like to use in Dolibarr, however, when I past the code into the source editor of CKEditor, it strips many of the tags like <head>, <link rel="stylesheet"...>, etc. When I switch back from source to the WYSIWYG editor, the result is nothing like it should look. Is there a way I can force CKEditor to allow all of my tags so that my custom HTML will render properly? I'd like to have my emails formatted and styled in a very specific way to match the branding and formatting of my company's website. I have attached two files. One is how the HTML should look, the other is how CKEditor strips it down.

How the HTML should look:
Dolibarr-GoogleChrome8_13_20194_00_33PMcopy.png


How CKEditor strips the HTML:
Dolibarr-GoogleChrome8_13_20193_57_59PM.png



Thanks.
Last Edit: 4 days 21 hours ago by andrewtlong.
The administrator has disabled public write access.
Time to create page: 0.063 seconds