I know this is the opposite of what everybody wants, but I'd like to retain MS Word inline styles.
I have updated the config.js file with the two following lines but some formatting is still getting stripped out:
config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordRemoveStyles = false;
See the following line of code. This is what it looks like in another editor that doesn't strip formatting:
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none">
And here's what it looks like in CKeditor after I paste:
<p>
I need to retain the "margin:0" style if possible, any help would be much appreciated. Thanks in advance.
I have updated the config.js file with the two following lines but some formatting is still getting stripped out:
config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordRemoveStyles = false;
See the following line of code. This is what it looks like in another editor that doesn't strip formatting:
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none">
And here's what it looks like in CKeditor after I paste:
<p>
I need to retain the "margin:0" style if possible, any help would be much appreciated. Thanks in advance.

Re: Paste from word - I'd like to retain word formatting
Re: Paste from word - I'd like to retain word formatting
Re: Paste from word - I'd like to retain word formatting
jon, I wanted to let you know one thing I did discover that may help you (although it didn't completely help me). Those two lines of config need to go in the plugins/pastefromword/filter/default.js file. Just put them at the bottom on separate lines. I still have issues after doing that, but I may be slightly closer.
Re: Paste from word - I'd like to retain word formatting
I too have the following lines in my config.js file
config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordRemoveStyles = false;
Setting these two config options has helped with a lot of the automatic stripping that was going on, but somewhere, ckeditor is STILL stripping out my 0 margins.
Note, I think it's stripping them during a normal paste operation because if I turn on another config option:
config.pasteFromWordPromptCleanup = true;
Which makes ckeditor prompt before doing a word clean up and I say "Cancel" meaning do NOT run the word filter, my 0 margins are STILL being ripped out.
Ideas?
Re: Paste from word - I'd like to retain word formatting
Re: Paste from word - I'd like to retain word formatting
Has anyone found a solution?
When I look at the config options it looks like there's one for pasteFromWordCleanupFile. How is such a file used and would it help with this issue?
Re: Paste from word - I'd like to retain word formatting