On http://ckeditor.com/demo I press source an enter html :
<div> <p>test</p></div>
than press again source twice and see only <p>test</p>.
And even more cruel situation:
<h2>Client poll</h2>
<section class="client-info">
<div class="left">
<input type="text" placeholder="First Name">
<input type="text" placeholder="Last Name">
</div>
</section>
becomes
<h2>Client poll</h2>
<p> </p>
This is probably the result
This is probably the result of Advanced Content Filter working -- you are probably trying this on a CKEditor configuration that does not contain some HTML elements and as a result, these elements are removed from your code. For example, the Standard demo does not contain the Div plugin and thus all <div> elements will subsequently be removed.
You can easily adjust this behavior by customizing your ACF rules, as explained in the documentation.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
so, if I have
so, if I set
CKEDITOR.editorConfig = function( config )
{
config.language = 'ru';
config.toolbar = 'Custom';
config.toolbar_Custom =
[
..
];
config.allowedContent = true;
};
it should be deactivated and content is not filtered, right?