Hi guys,
I am using an ASP.Net AJAX RADEditor in an ASP.Net 2.0 application. We have just upgraded to this new Editor. Formerely, our application used the traditional RADEditor which had XML config files etc and ran on ASP.Net 1.1.
We seem to have migrated everything successfully and the editor is working pretty well. But we are unfortunately experiencing some problems pasting content directly from word - these didn't happen with the old version.
For example: The apostrophe's that MSWord uses are a special character that differs from a standard apostrophe in XHTML.
Here is some text I pasted from Word into the RADEditor:
" telcos’"
But I end up seeing funny characters like this inside the RADEditor:
telcos’
Because the apostrophe that Word uses is a weird, non-standard one..
My code for the editor is:
<telerik:RadEditor ID="RadEditor" Runat="server" Width="500px" Skin="Default"
ToolProviderID="" StripFormattingOptions="MSWordRemoveAll"><Content>
</Content>
</telerik:RadEditor>
If I paste a couple of pages from a Word Document, the result is terrible, it is full of lots of other funny characters and sometimes Greek for bulleted text.
NOTE: It always looks perfect in the RADEditor straight after the paste. Its only after I save the RADEditor and then load it back up later inside the RADEditor that I see the funny characters all through the content. My thoughts are that these funny apostrophes should be replaced with standard apostrophes automatically during the paste, and this kind of thing isn't happening properly. RADEditor displays the apostrophes correctly straight after the paste, but after a fresh load populating the content at runtime, it realises they are funny characters and displays them accordingly.
My RADEditor saves inline, because its part of a custom CMS system. The inline-saving was done using a tutorial document on this web site which worked great.
Any other hints or tips or something that I need to configure? My staff are getting frustrated because they can't paste from word without seeing funny characters.
Is there a need for me to code my own custom replace filter, this would take some time, I assumed the MSWordRemoveAll should do all this for me.
I have taken 4 screenshots of what happens if they are helpful.
Thanks heaps for your help
Aaron.
I am using an ASP.Net AJAX RADEditor in an ASP.Net 2.0 application. We have just upgraded to this new Editor. Formerely, our application used the traditional RADEditor which had XML config files etc and ran on ASP.Net 1.1.
We seem to have migrated everything successfully and the editor is working pretty well. But we are unfortunately experiencing some problems pasting content directly from word - these didn't happen with the old version.
For example: The apostrophe's that MSWord uses are a special character that differs from a standard apostrophe in XHTML.
Here is some text I pasted from Word into the RADEditor:
" telcos’"
But I end up seeing funny characters like this inside the RADEditor:
telcos’
Because the apostrophe that Word uses is a weird, non-standard one..
My code for the editor is:
<telerik:RadEditor ID="RadEditor" Runat="server" Width="500px" Skin="Default"
ToolProviderID="" StripFormattingOptions="MSWordRemoveAll"><Content>
</Content>
</telerik:RadEditor>
If I paste a couple of pages from a Word Document, the result is terrible, it is full of lots of other funny characters and sometimes Greek for bulleted text.
NOTE: It always looks perfect in the RADEditor straight after the paste. Its only after I save the RADEditor and then load it back up later inside the RADEditor that I see the funny characters all through the content. My thoughts are that these funny apostrophes should be replaced with standard apostrophes automatically during the paste, and this kind of thing isn't happening properly. RADEditor displays the apostrophes correctly straight after the paste, but after a fresh load populating the content at runtime, it realises they are funny characters and displays them accordingly.
My RADEditor saves inline, because its part of a custom CMS system. The inline-saving was done using a tutorial document on this web site which worked great.
Any other hints or tips or something that I need to configure? My staff are getting frustrated because they can't paste from word without seeing funny characters.
Is there a need for me to code my own custom replace filter, this would take some time, I assumed the MSWordRemoveAll should do all this for me.
I have taken 4 screenshots of what happens if they are helpful.
Thanks heaps for your help
Aaron.