Changes between Initial Version and Version 3 of Ticket #10496
- Timestamp:
- Jun 3, 2013, 11:10:26 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10496
-
Property
Status
changed from
new
toconfirmed
- Property Cc kagupta@… added
-
Property
Status
changed from
-
Ticket #10496 – Description
initial v3 1 1 To reproduce: 2 2 3 1. Use below code for editor 3 1. Use below code for editor: 4 4 {{{ 5 6 coreStyles_bold : { element : 'b', overrides: 'strong' },7 allowedContent: true8 5 CKEDITOR.replace( 'editor1', { 6 coreStyles_bold: { element: 'b', overrides: 'strong' }, 7 allowedContent: true 8 }); 9 9 }}} 10 2. try to paste HTML containing strong tag (you can paste sample text from other editor, even other browser)11 Result: strong tag is left untouched on paste.12 10 13 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.[[BR]] 14 Please also note if you remove {{{allowedContent : true}}} property all works as expected. 11 2. try to paste HTML containing strong tag (you can paste sample text from other editor, even other browser). 12 13 * Result: `strong` tag is left untouched on paste. 14 * Expected: `strong` tag should be transformed to `b` tag. 15 16 While `coreStyles_*` work well with initial content (`strong` tags are transformed to `b`) and when e.g. Bold is pressed (`b` tag is inserted), they fail when content is pasted. 17 18 Please also note if you remove `allowedContent: true` property all works as expected. 15 19 16 20 Problem can be reproduced from CKEditor 4.1.