This is a migrated thread and some comments may be shown as answers.

[Solved] Paste from Word in Firefox

5 Answers 114 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Amey
Top achievements
Rank 1
Amey asked on 18 May 2009, 09:04 PM
I'm seeing some strange behavior in the paste from Word functionality on Firefox - and I see the same exact behavior on your demo to.

1. go here: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
2. open the full tools
3. open MS Word and create a piece of text that says "This is some Word Text "
4. Click the Paste From Word icon and paste in the above text from your Word doc.
5. Switch to HTML view.

This is what you see in the html view:

<style>
    <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->
</style>
<p>This is some <strong>Word</strong> Text</p>
<br />

What is with all this excess html???
Shouldn't it just be:
<p>This is some <strong>Word</strong> Text</p>



5 Answers, 1 is accepted

Sort by
0
Amey
Top achievements
Rank 1
answered on 18 May 2009, 09:15 PM
FYI - if you go to your free open source competitor, TinyMCE: http://tinymce.moxiecode.com/examples/full.php
and do the same thing, 1. you can paste directly into the editor without using a popup and 2. the html source view is "<p>This is some <strong>Word</strong> Text</p>" which is semantically correct.
0
Lini
Telerik team
answered on 25 May 2009, 11:13 AM
Hi,

We have made some improvements in the paste from Word tool in Firefox. The extra <style> tag is now removed, along with some other unneeded style attributes. These improvements will be part of the RadControls for ASP.NET AJAX service pack release, which will happen later this week.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Frank
Top achievements
Rank 1
answered on 02 Jun 2009, 02:30 PM
Hi, was this service pack ever released? And how do Sitefinity users apply it?
0
Amey
Top achievements
Rank 1
answered on 02 Jun 2009, 08:07 PM
I'd also like to know if this has been released.  Also - it looks like our subscription has expired, but I do not want to renew unless this works - is there a way I can download a new trial?
0
Stoyanka Assenova
Telerik team
answered on 03 Jun 2009, 08:06 AM
Hello Frank,

You can download the latest trial build of SP2 of RadControls for ASP.NET AJAX Q1 2009 from the following link http://www.telerik.com/account/free-trials.aspx.
You can read more information about  how to upgrade RadControls in Sitefinity in this KB article: How to upgrade RadControls.

Hope this helps.

Best regards,
Stoyanka Assenova
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Amey
Top achievements
Rank 1
Answers by
Amey
Top achievements
Rank 1
Lini
Telerik team
Frank
Top achievements
Rank 1
Stoyanka Assenova
Telerik team
Share this question
or