Opened 6 weeks ago

Last modified 6 weeks ago

#17030 confirmed Bug

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

Reported by: j.swiderski Owned by:
Priority: Normal Milestone: CKEditor 4.7.1
Component: Core : Selection Version: 4.5.0
Keywords: Support Cc:


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 j.swiderski 6 weeks ago.

Download all attachments as: .zip

Change History (4)

Changed 6 weeks ago by j.swiderski

comment:1 Changed 6 weeks ago by j.swiderski

  • Keywords Support added
  • Status changed from new to confirmed

Could be related to: #14256

Last edited 6 weeks ago by j.swiderski (previous) (diff)

comment:2 Changed 6 weeks ago by m.lewandowski

  • Milestone set to CKEditor 4.7.1

comment:3 Changed 6 weeks ago by j.swiderski

Most likely related to #17033.

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