﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9616	PasteFromWordRemoveStyles option doesnt work with ASP.NET control	Jakub Ś		"1. Open FirstUse.aspx ASP.NET sample
2. Set {{{PasteFromWordRemoveFontStyles=""False""}}} and {{{PasteFromWordRemoveStyles=""False""}}}
3. Run the sample
4. Paste contents from attached word file
Result: Notice that table background is not pasted but all the font styles are.

Possible cause:[[BR]]
If you see HTML of sample page you will notice that ony {{{ ""pasteFromWordRemoveFontStyles"" : false}}} is present. [[BR]]
**This is happening because (can be checked in Visual Studio) CKEditor ASP.NET control has PasteFromWordRemoveStyles  set to false by default  while in JavaScript editor this value is set to true.** [[BR]]
Because PasteFromWordRemoveStyles=""False"" is treated by control as default value it is not being included in resulting JavaScript. Then default property which is set to true from config is being used instead. This result in missing styles.

To work around to the problem just put in ckeditor/config.js
{{{
config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordRemoveStyles=false;
}}}


"	Bug	closed	Normal		Plugin : Paste from Word		fixed		
