Hello all,
I want to know how to use the InsertHtml function when a user clicks a button on the toolbar (loaded as a plugin). Finding answers to this question has been very annoying cause I can't find it _anywhere_!
If I can't use a plugin for this (from what I can tell, which isn't very much, plugins must open in new windows..) I will be happy to use another method.
Thanks in advance,
mykel--
I want to know how to use the InsertHtml function when a user clicks a button on the toolbar (loaded as a plugin). Finding answers to this question has been very annoying cause I can't find it _anywhere_!
If I can't use a plugin for this (from what I can tell, which isn't very much, plugins must open in new windows..) I will be happy to use another method.
Thanks in advance,
mykel--
RE: InsertHtml on button click (plugin)
i found on the wiki this code:
var oEditor = FCKeditorAPI.GetInstance('InstanceName');
from which one can use
oEditor.InsertHtml('stuff');
but i cant seem to grasp the handle from the plugin's window.
does anybody know?
RE: InsertHtml on button click (plugin)
okay. after four hours and finding http://sourceforge.net/forum/message.php?msg_id=3091867 ive managed to create it to do what i want. thanks anyway, and i hope google searchers or something can find this.