Opened 8 years ago

Last modified 8 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:


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 8 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: newassigned

comment:2 Changed 8 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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy