FF: Pasting content (CRTL+V) from MS Word 2010 with forcePasteAsPlainText turned on pastes MS junk
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.
Change History (6)
Milestone: |
→ CKEditor 3.6.4
|
Owner: |
set to Garry Yao
|
Status: |
confirmed →
review
|
Status: |
review →
review_passed
|
Resolution: |
→ fixed
|
Status: |
review_passed →
closed
|
Component: |
General →
Core : Pasting
|
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.