Opened 12 years ago
Last modified 11 years ago
#10496 closed Bug
ACF blocks/overrides coreStyles_ behaviour on paste — at Initial Version
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1 |
Keywords: | Cc: | kagupta@… |
Description
To reproduce:
- Use below code for editor
CKEDITOR.replace( 'editor1', { coreStyles_bold : { element : 'b', overrides : 'strong' }, allowedContent : true });
- try to paste HTML containing strong tag (you can paste sample text from other editor, even other browser)
Result: strong tag is left untouched on paste.
While coreStyles_ work well with initial content and when button e.g Bold is pressed (B tag is inserted) they fail when content with strong tag gets pasted.
Please also note if you remove allowedContent : true
property all works as expected.
Problem can be reproduced from CKEditor 4.1.