Opened 11 years ago

Last modified 10 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:

  1. Use below code for editor
    	CKEDITOR.replace( 'editor1', {
    				coreStyles_bold : { element : 'b', overrides : 'strong' },
    				allowedContent : true
    		});	
    
  2. 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.

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy