I am struggling to get an accurate answer on this questions on whether TinyMCE supports pasting from Microsoft word. I guess there may be a lot of out of date information on the web on this topic as I have seen answers such as:
I have tested this and it doesn't seem like it works out of the box (answer #3) but I am not sure if this is due to a configuration / initialization issue on my side or there is some other external thing needed.
Any help would be appreciated.
The TinyMCE PowerPaste plugin automatically cleans up content from Microsoft Word/Excel and HTML sources to ensure clean, compliant content that matches the look and feel of the site. Note: Due to limitations in Excel online (part of Office Live) PowerPaste does not support pasting from Excel online.
What to Know. Copy text from Word > paste into Notepad or Text Editor. Copy text from Notepad/Text Editor > paste into WordPress. Or, copy text from Word, then go to post editor in WordPress dashboard.
The ExportToDoc plugin adds an export button to the menu of the TinyMCE editor. By clicking the Export to Doc button, TinyMCE editor content HTML will be converted to Microsoft Word document in the same format and you can save it to your computer as a . doc file.
Make plain text the paste default in Word 2010In Word 2010, click File > Options > Advanced. In both programs, scroll to the "Cut, copy, and paste" section of the Advanced settings. In the drop-down menus to the right of "Paste between documents" and "Paste between programs," choose Keep Text Only.
It does indeed work (as well as it can). You will need to use the "paste from Word" button, though, so TinyMCE can filter any of the extraneous markup that Word adds to its content. You'll also have to make sure the paste
plugin (which is part of the the default install) is loaded.
I believe that you'll need to explicitly add the button in your theme, though. Take a look at this example from the TinyMCE wiki.
plugins : "paste",
theme_advanced_buttons3_add : "pastetext,pasteword,selectall",
will add the plugin and button (to whichever row you'd like). The TinyMCE wiki claims paste does Word filtering by default, but I've never seen it work in the wild without explicitly using the "paste from Word" button.
For me it works without "paste from word" button by directly pasting the content from word. I am using 3.3.9.3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With