Opened 7 years ago

Last modified 7 years ago

#16807 pending Bug

Pasting widgets with the clipboard plugin under firefox removes some classes.

Reported by: Nikolay Ch Owned by:
Priority: Normal Milestone:
Component: UI : Widgets Version:
Keywords: Cc:


Steps to reproduce

  1. Open the ckeditor with firefox, copy a widget with more html.
  2. Click right button on the editor, then paste from the dropdown.
  3. The paste dialog is shown, then press Ctrl+V to paste it in the dialog and click OK.

Expected result

The widget should be inserted with all its classes, same content, and same styles.

Actual result

All elements are present but some of their classes are removed, the style is not the same. I've debugged the paste dialog and in the event 'pasteDialogCommit', { dataValue: html }) - the dataValue contains all necessary elements and their classes. However when the widget is inserted and I inspect its elements it seems some of their classes are removed.

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

It works perfectly under chrome, IE and Safari.

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Keywords: widget firefox paste clipboard removed
Status: newpending
Version: 4.6.0

Please provide sample and plugin which produces such problem. I have just tried experimenting with simplebox (I have allowed many extra styles, attributes and classes) but no problem occurred.

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