Search

You searched for the word(s):
< 1 second(s)
  • Re: Wraping selection with tag

    I find part of the solution. For IE: &#160;&#160;&#160; &#160;&#160;&#160; editor.setFocus(); &#160;&#160;&#160; &#160;&#160;&#160; var txt = editor.getSelection().htmlText; &#160;&#160;&#160; &#160;&#160;&#160; if (txt != &quot;&quot;) &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ...
    Posted to Cute Editor for ASP (Forum) by moshe on October 10, 2005
  • Wraping selection with tag

    How can i design special button so the selected text (into the edit box) will wrap with my own tags, and if there is not selection, just insert&#160; the open tag? The solution should be compatible with IE and FireFox. I guess there is internal function for this task, because many standrad buttons doing that (Bold, Italic and etc.), But I can't ...
    Posted to Cute Editor for ASP (Forum) by moshe on October 9, 2005