#10545 closed Bug (invalid)
Data processor removes not alphanumeric strings
Reported by: | giammin | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1.2 |
Keywords: | Cc: |
Description
refering to this ticket:
http://dev.ckeditor.com/ticket/10298
this is not fixed.
i experience the same problem with
element.addClass('cke_blabla') element.attributes.add('class','cke_blabla') editor.insertHtml('<div class="cke_blabla">dfgdfg</div>')
those class names are removed
Change History (2)
comment:1 follow-up: 2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
Replying to j.swiderski:
Class names starting with "cke_" are classes used by CKEditor. Editor uses them in WYSIWYG and removes when you e.g. switch to source mode. Please treat them like reserved keyword and use other namespace e.g. "mycke_".
I didn't know about this... Neither it is written in the documentation...
Class names starting with "cke_" are classes used by CKEditor. Editor uses them in WYSIWYG and removes when you e.g. switch to source mode. Please treat them like reserved keyword and use other namespace e.g. "mycke_".
If you still get Problems with classes please read about ACF: http://ckeditor.com/blog/Upgrading-to-CKEditor-4.1
http://ckeditor.com/blog/CKEditor-4.1-RC-Released
http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter
http://docs.ckeditor.com/#!/api/CKEDITOR.filter-method-addTransformations
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent
http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-extraAllowedContent