#17033 closed Bug (duplicate)
extractContents returns incorrect result when multiple nodes are selected.
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 (last modified by )
Steps to reproduce
- Put attached sample into
ckeditor/samples
folder and open it - Apply same styles and selections as in attached video:
This is some [sample text.]
- apply yellow markerThis is [some sample text.]
- apply underline[This is some sample text.]
- pressPrint 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 all browsers starting from CKEditor 4.5.0.
Attachments (2)
Change History (8)
Changed 8 years ago by
Attachment: | 2017-05-15_2016.swf added |
---|
Changed 8 years ago by
comment:1 Changed 8 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
Keywords: | Support added |
---|
comment:4 Changed 8 years ago by
Priority: | Normal → Nice to have (we want to work on it) |
---|
comment:5 Changed 8 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
It has turned out this is a duplicate of #14256.
comment:6 Changed 8 years ago by
Description: | modified (diff) |
---|
Most likely related to #17030