Opened 9 years ago
Closed 8 years ago
#14293 closed Bug (invalid)
[pastetext] Paste As Plain Text does not remove bold and italic text from MS Word to Google Chrome
Reported by: | Seth Feldkamp | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- Open the attached MS Word document and CTRL+C copy the text block
- Paste (CTRL+V) the text into a CKEditor that is configured with the Paste as Plain Text plugin (pastetext) and setting config.forcePasteAsPlainText = true. Additionally, the pastetext plugin is loaded as an externalPlugin via CKEditor.plugins.addExternal().
Expected result
All formatting will be removed.
Actual result
Bold and Italic formatting are preserved. Highlight, text color, and underline are removed.
Other details (browser, OS, CKEditor version, installed plugins)
Windows 7 MS Word 2013 Google Chrome Version 47.0.2526.106 m CKEditor 4.5.1 PasteText 4.5.6
This works as expected when pasting from the document into FireFox, and IE 11. This works as expected when the document is opened into Open Office Writer and pasted into Google Chrome.
Attachments (1)
Change History (2)
Changed 9 years ago by
Attachment: | Testing.docx added |
---|
comment:1 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 4.5.1 |
According to documentation Paste from Word is not affected by forcePasteAsPlainText
setting/ Please see: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-forcePasteAsPlainText
If you use Ctrl+V or Paste from Word dialog - you will get styled content (Word content is also detected on Ctrl+V). If however you use paste as plain text or paste dialogs, only text will be pasted - tested with CKEditor 4.6.2
Test Text to Paste