Forum closed. New forum available at http://community.wymeditor.org/

Inserting text where the cursor is placed

Support forum for WYMeditor.

Inserting text where the cursor is placed

Postby captain_torche on Thu Nov 08, 2007 12:32 am

I'm adding a new button to wymeditor, which opens a list of items, and I'd want some text to be inserted where my cursor is, when clicking on the items.
I tried the 'paste' function, but it creates a new paragraph at the end of the text.

Is there a function I could use ?
captain_torche
 
Posts: 6
Joined: Thu Nov 08, 2007 12:25 am

Postby captain_torche on Mon Nov 19, 2007 8:22 am

I wasn't aware the question was so difficult ;)
Is there a way to get the entire list of built-in functions ? (Like paste(), plus eventually others ?).

Thanks a lot.
captain_torche
 
Posts: 6
Joined: Thu Nov 08, 2007 12:25 am

Postby captain_torche on Tue Jan 08, 2008 8:22 am

I apologize for this, but I haven't got any clue to do the trick.
A function that does this must exist, but I don't know its name.
Is there a list of all the functions somewhere (Like paste() and so) ?
This would be a great help.
Thanks.
captain_torche
 
Posts: 6
Joined: Thu Nov 08, 2007 12:25 am


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests