Opened 2 years ago

Closed 21 months ago

#17030 closed Bug (fixed)

CloneContents selects whole element when selection starts at the start of that element

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone: CKEditor 4.7.1
Component: Core : Selection Version: 4.5.0
Keywords: Support Cc:

Description

Steps to reproduce

  1. Put attached sample into ckeditor/samples folder
  2. Open browser console
  3. Select e.g. [sample te]xt. It is important that selection starts at the beginning of the element. If you select e.g. sam[ple te]xt it will work as expected
  4. Inspect documentFragment in console

Expected result

Text should contain sample te

Actual result

Text contains sample text

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

Problem can be reproduced from CKEditor 4.5.0 in all browsers.

Attachments (1)

api2.html (7.1 KB) - added by Jakub Ś 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by Jakub Ś

Attachment: api2.html added

comment:1 Changed 2 years ago by Jakub Ś

Keywords: Support added
Status: newconfirmed

Could be related to: #14256

Last edited 2 years ago by Jakub Ś (previous) (diff)

comment:2 Changed 2 years ago by Marek Lewandowski

Milestone: CKEditor 4.7.1

comment:3 Changed 2 years ago by Jakub Ś

Most likely related to #17033.

comment:4 Changed 21 months ago by kkrzton

Resolution: fixed
Status: confirmedclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy