I am trying to allow the ckEditor on a custom CMS I am making but it keeps stripping title tags and other odd tags and attributes.
Is there some way to tell it to never do this? I tried:
disallowedContent: "",
extraAllowedContent: "* [*]",
as well as:
disallowedContent: "",
extraAllowedContent: *(*);*{*};
and even:
disallowedContent: "",
extraAllowedContent: *(*);*{*};*[*];
but that didn't do it. it appeared to, until I saved. Then it hosed the code in weird way, pulling some image tags and taking everything other then the first word in the title attribute out and other odd little things.
Try this
config.allowedContent = true;
where?
I am putting all of the customizations in the
CKEDITOR.replace( "editor",
{
/* option: "value" , */
}
format inline. I tried allowedContent : "true",
but it didn't fix anything. In fact, then it stripes everything except paragraphs pretty much.
Where
In the config.js
does not work.
It stripes ALL attribute quotes. It removes all inline styles. not when switching from source to regular, but as soon as I click save, to toasts the html.
The documentation
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
Where I read:
I read it, and tried it -
I read it, and tried it - before I posted. I only posted because it simply is not NOT removing stuff.
disregard this.
It indeed was... however my server sanitation was configured wrong.
You were completely right... I however, need more sleep. Very sorry.
{blushes}
it allows you to put it
it allows you to put it inline, like all of the options, which is nice since then you update to a new version, but your config is seperate and kept. But, the above did not work because I put true in quotes btw. ;)
CKEDITOR.replace("editor"), {
disableNativeSpellChecker : false,
allowedContent : true,
}