Opened 7 years ago

Last modified 7 years ago

#17033 closed Bug

extractContents returns incorrect result when multiple nodes are selected. — at Initial Version

Reported by: Jakub Ś Owned by:
Priority: Nice to have (we want to work on it) Milestone:
Component: General Version: 4.5.0
Keywords: Chrome Support Cc:

Description

Steps to reproduce

  1. Put attached sample into ckeditor/samples folder and open it
  2. Apply same styles and selections as in attached video:
    • This is some [sample text.] - apply yellow marker
    • This is [some sample text.] - apply underline
    • [This is some sample text.] - press Print Extract Contents button

Expected result

This is <u>some <span class="marker"><strong>sample text</strong>.</span></u>

Actual result

This is <u><span class="marker">.<strong>sample text</strong></span>some </u>

The text content in Document Fragment is "This is .sample textsome "

Other details (browser, OS, CKEditor version, installed plugins)

Problem can only be reproduced in Chrome (Win and Mac) starting from CKEditor 4.5.0.

Change History (2)

Changed 7 years ago by Jakub Ś

Attachment: 2017-05-15_2016.swf added

Changed 7 years ago by Jakub Ś

Attachment: api2.html added
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