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
- Open CKEditor demo page - http://ckeditor.com/demo
- Select any text
- Open "dev tools"(F12) -> console
- 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