Opened 12 years ago

Last modified 11 years ago

#10496 closed Bug

ACF blocks/overrides coreStyles_ behaviour on paste — at Version 3

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1
Keywords: Cc: kagupta@…

Description (last modified by Piotrek Koszuliński)

To reproduce:

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

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.

Please also note if you remove allowedContent: true property all works as expected.

Problem can be reproduced from CKEditor 4.1.

Change History (3)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 12 years ago by Jakub Ś

Cc: kagupta@… added

comment:3 Changed 12 years ago by Piotrek Koszuliński

Description: modified (diff)
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