Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#8968 closed Bug (fixed)

FF: Pasting content (CRTL+V) from MS Word 2010 with forcePasteAsPlainText turned on pastes MS junk

Reported by: Jakub Ś Owned by: Garry Yao
Priority: Normal Milestone: CKEditor 3.6.4
Component: Core : Pasting Version: 3.6.3
Keywords: Firefox Cc:

Description

To reproduce:

  1. In your config.js set config.forcePasteAsPlainText = true;
  2. Open any MS Word 2010 document and copy formatted text with CRTL+C
  3. Paste contents in to editor using CRTL+V (Toolbar buttons work fine)

Result: MS junk code is pasted into editor.

Issue has been reproducible in Firefox from CKEditor 3.6.3.

The first change - all pasted in one paragraph can be seen from rev [7453] but there is no MS junk. In next revision [7454] junk is present.

Attachments (1)

8968.patch (762 bytes) - added by Garry Yao 12 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed

Changed 12 years ago by Garry Yao

Attachment: 8968.patch added

comment:2 Changed 12 years ago by Garry Yao

Milestone: CKEditor 3.6.4
Owner: set to Garry Yao
Status: confirmedreview

There exists a limitation in Fx to have our "text pastebin" work on the "paste" event (where we've used to rely on "beforepaste" before [7453]).

The patch is enought to fix the Ctrl-V behavior, but not when pasting from menu bar, unfortunately, while it should be enough at the moment, since it has been addressed already in v4, where we introduced no special "text pastebin" at all.

comment:3 Changed 12 years ago by Frederico Caldeira Knabben

Status: reviewreview_passed

comment:4 Changed 12 years ago by Garry Yao

Resolution: fixed
Status: review_passedclosed

Fixed with [7534].

comment:5 Changed 10 years ago by Frederico Caldeira Knabben

Component: GeneralCore : Pasting
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