Insert Text

  •  07-26-2004, 4:33 PM

    Insert Text

    If I wanted to make an exterior button that will insert some specific text at the current cursor location in the editor, what's the best way to accomplish that? I saw something about an "innertext" property, but I couldn't find it in the manual. I know you have custom buttons for the Editor coming in a future release, so for the time being, the best way to do something like this is with an external button or link (i.e. I want to generate dynamic links that will change depending upon a user's setting).

     
    I can look through the WINie.js file and probably rig something together, but if there's a native way to insert text or HTML at the cursor location, I'd rather use that.
     
    Thanks for your support. You've been very helpful, and the CuteEditor is top notch!
View Complete Thread