Hello,
I have got litte problem... I trying on sample readonly.html in sample folder of ckeditor. When I update html in textarea to:
<textarea class="ckeditor" id="editor1" name="editor1" cols="100" rows="10"><p class="test">This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
and refresh page and check SOURCE in ckeditor I see this:
<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>
Why CKeditor remove class="test" on first <p> element? Where can I disable this feature please? When I edit html in CKeditor, I need add classes and ids to element :o(
Thank you.
Tom
I think, it is working.. i
I think, it is working.. I add:
config.allowedContent = true
Instead of turning Advanced
Instead of turning Advanced Content Filter off, you can also configure it to accept classes and IDs as you require. See more in the guide: http://localhost/api_docs/#!/guide/dev_advanced_content_filter
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!