Opened 4 years ago

Last modified 4 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

  1. Go to https://en.wikipedia.org/wiki/HTTPS and copy first paragraph (from HTTPS to exchanged data)
  2. 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.

Change History (1)

comment:1 Changed 4 years ago by Jakub Ś

Status: newconfirmed

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

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