2

Using tinymce in wordpress 3.3.2 the paste from word function works great for my users, but I have run into one issue, whenever someone pastes content from a word document that is set in Calibri, Calibri remains, all other fonts strip out.

Anyone ever experience this or have an idea what may cause this?

Chuck
  • 375
  • 5
  • 22
  • If you want it to strip all formatting, use the paste as plain text option. Pasting from word should retain the formatting - so Calibri should be retained, but the other font should be as well. What are the other fonts that are getting stripped out? – user1337 May 31 '12 at 20:03
  • The reason I liked paste from word was my users didn't have to recreate the links that are often in their documents. I tried a whole variety of fonts, some of the bigger names were arial, georgia, comic sans. – Chuck May 31 '12 at 23:33

1 Answers1

1

This might be of help to you: TinyMCE Paste As Plain Text

You may want to fiddle a bit with the code to keep special tags or attributes.

Community
  • 1
  • 1
Thariama
  • 50,002
  • 13
  • 138
  • 166