Opened 8 days ago

Last modified 8 days ago

#17033 confirmed Bug

extractContents returns incorrect result when multiple nodes are selected.

Reported by: j.swiderski 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.

Attachments (2)

2017-05-15_2016.swf (799.5 KB) - added by j.swiderski 8 days ago.
api2.html (7.4 KB) - added by j.swiderski 8 days ago.

Download all attachments as: .zip

Change History (6)

Changed 8 days ago by j.swiderski

Changed 8 days ago by j.swiderski

comment:1 Changed 8 days ago by j.swiderski

  • Status changed from new to confirmed

comment:2 Changed 8 days ago by j.swiderski

Most likely related to #17030

comment:3 Changed 8 days ago by j.swiderski

  • Keywords Support added

comment:4 Changed 8 days ago by m.lewandowski

  • Priority changed from Normal to Nice to have (we want to work on it)
Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy