Hi!
I am using 2009.2.701.35 version of the Tools.
When I paste from Word, I am losing my font info even though I have StripFormattingOnPaste="MSWord" defined.
The issue is the Font tag is getting stripped even though the doc says "MSWord: strips Word-specific tags on Paste, preserving fonts and text sizes. "
When I paste, the resulting HTML is:
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 12pt; line-height: 115%;">Book Antiqua 12</span></p>
I am expecting that the font is preserved from the un-cleaned original:
<span style="font-size: 12pt; line-height: 115%; font-family: 'book antiqua','serif'; mso-bidi-font-family: 'times new roman'; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa;">Book Antiqua 12</span>
Please Notice that the font-family attribute is missing from the MSWord cleaned paste.
I can reproduce this on the Telerik web site in the editor demo area.
Is there a fix for this? My customers expect that their fonts are preserved.
Thanks for your help! :-)
Rich
I am using 2009.2.701.35 version of the Tools.
When I paste from Word, I am losing my font info even though I have StripFormattingOnPaste="MSWord" defined.
The issue is the Font tag is getting stripped even though the doc says "MSWord: strips Word-specific tags on Paste, preserving fonts and text sizes. "
When I paste, the resulting HTML is:
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 12pt; line-height: 115%;">Book Antiqua 12</span></p>
I am expecting that the font is preserved from the un-cleaned original:
<span style="font-size: 12pt; line-height: 115%; font-family: 'book antiqua','serif'; mso-bidi-font-family: 'times new roman'; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa;">Book Antiqua 12</span>
Please Notice that the font-family attribute is missing from the MSWord cleaned paste.
I can reproduce this on the Telerik web site in the editor demo area.
Is there a fix for this? My customers expect that their fonts are preserved.
Thanks for your help! :-)
Rich
