Opened 5 years ago

Last modified 5 years ago

#13283 confirmed Bug

range.clone should not set containers if source range was not positioned yet

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Currently doing:

var range = new CKEDITOR.dom.range( root );
var range2 = range.clone();

will log that containers outside of the root are set. It does not make sense.

Change History (2)

comment:1 Changed 5 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: newassigned

comment:2 Changed 5 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.4.8
Owner: Piotrek Koszuliński deleted
Status: assignedconfirmed

I wasn't right - it is impossible to clone unpositioned range.

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