When I paste from Word Into the Rad Editor and use either paste or paste from word when copying and pasting bullets. It produces wacky characters. This is from Office 2007.
3 Answers, 1 is accepted
0
George
Telerik team
answered on 04 Apr 2008, 10:04 AM
Hi John,
Could you please, clarify what do you mean with "wacky characters"?
In addition to this, we will need more information in order to exactly reproduce the problem and provide you with a solution:
Your exact MS Word content, version
Screenshot of the content when it is pasted into the editor - design and html view
I think I solved my problem finally, but am not sure if I did it correctly, I'm in the process of converting classic asp to .net asp so I have the text editor in an iframe and use javascript to pull it out of the ..net code to save it in classic asp.
i'm using get_html(true) to return the content.
then in javascript i pass the content via an ajax post to save it. (home grown code).
I encodeURIComponent(content); the conent before posting it.
This saves some none printable characters such as the "Â" symbol when ever I have two spaces.
I changed get_html(true) to get_html(false) and now its working, but for the life of me, I can't find the purpose of the true/false for get_html in the telerik documentation. Can you please point me to the documenation that explains what it is doing.
Thanks.
John Doroshenk
Love everything Telerik, but the documentation. You seem to leave out what methods and the parameters do alot of the times.
0
Rumen
Telerik team
answered on 25 Jun 2008, 02:23 PM
Hi John,
Thank you for your feedback!
When you set the true argument, the get_html(true) method will return the HTML content parsed by the editor's client-side filters.