Opened 9 years ago
Last modified 9 years ago
#14429 confirmed Bug
Webkit Blink add multiple to HTML pasted into contenteditable element.
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Blink Webkit CantFix VendorFix | Cc: |
Description
Steps to reproduce
- Go to https://en.wikipedia.org/wiki/HTTPS and copy first paragraph (from HTTPS to exchanged data)
- Paste it in to CKEditor and switch to source.
Expected result
Clean HTML without any extra before/after or between tags.
Actual result
HTML with extra before/after or between tags. It works as expected if I for example run this code in dev tools: console.log(document.getElementById('mw-content-text').getElementsByTagName('p')[0].innerHTML);
Other details (browser, OS, CKEditor version, installed plugins)
Reproducible in Win 7 and Mac on Safari and Chrome.
This is a Blink/Webkit issue and there is nothing we can do as CKEditor gets data already processed by a browser.
https://bugs.webkit.org/show_bug.cgi?id=154676
https://bugs.chromium.org/p/chromium/issues/detail?id=589819