Ticket #8968 (closed Bug: fixed)
FF: Pasting content (CRTL+V) from MS Word 2010 with forcePasteAsPlainText turned on pastes MS junk
| Reported by: | j.swiderski | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.6.4 |
| Component: | General | Version: | 3.6.3 |
| Keywords: | Firefox | Cc: |
Description
To reproduce:
- In your config.js set config.forcePasteAsPlainText = true;
- Open any MS Word 2010 document and copy formatted text with CRTL+C
- 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
Change History
comment:2 Changed 11 months ago by garry.yao
- Owner set to garry.yao
- Status changed from confirmed to review
- Milestone set to CKEditor 3.6.4
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.
Note: See
TracTickets for help on using
tickets.
