Opened 9 years ago

Last modified 7 years ago

#14256 closed Bug

Range -> extractContents -> unexpected result — at Initial Version

Reported by: Alexander Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version: 4.5.4
Keywords: Support Cc:

Description

Steps to reproduce

  1. Open CKEditor demo page - http://ckeditor.com/demo
  2. Select any text
  3. Open "dev tools"(F12) -> console
  4. Try to execute next code
currentRange = CKEDITOR.instances.editor1.getSelection().getRanges()[0];
clonedHTML = range.cloneContents().getHtml();
extractedHTML = range.extractContents().getHtml();

Expected result

clonedHTML and extractedHTML must be equal

Actual result

clonedHTML and extractedHTML are different

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

CHROME 47.0.2526.80 m

Change History (0)

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