Re: Get selected text and rewrite it

  •  11-25-2005, 4:49 PM

    Re: Get selected text and rewrite it

    How about my question?

    >However function PasteHTML(html) helps only if I want to replace the whole HTML text in editor. How about "replace selected text with my own"? Thank you in advance.
    Ok. I can get the whole text of editor and then replace selected text and afterwards place this text again to editor. However will it be the right way? For example HTML editor may contain the same text which was not selected and in this case it will be replaced as well. So, please give me the right way how to replace selected text on my own. Thanks a lot.  
     
     
View Complete Thread