The forum operates in read-only mode. Please head to StackOverflow for support.
There is a way FCK.InsertHtml('Text to insert'); or this.InsertHtml('Text to insert');PS: The script must be in the same place as the rest of the scripts for the editor. (editor/fckeditor.html)BR Martin Kronstad
You may want to consider the Snippet Manager. https://sourceforge.net/tracker/index.p ... tid=737639It works like the templates, but it just inserts the HTML rather than overwriting it.It is definitly one of the best plugins that I have found.If nothing else, it should be enough to help you accomplish what you need to.
RE: Insert text at cursor position?
There is a way![:)](http://b.cksource.com/a/2/img/smilies/icon_e_smile.gif)
FCK.InsertHtml('Text to insert');
or
this.InsertHtml('Text to insert');
PS: The script must be in the same place as the rest of the scripts for the editor. (editor/fckeditor.html)
BR Martin Kronstad
RE: Insert text at cursor position?
work perfectly
RE: Insert text at cursor position?
Thanks!
RE: Insert text at cursor position?
You may want to consider the Snippet Manager.
https://sourceforge.net/tracker/index.p ... tid=737639
It works like the templates, but it just inserts the HTML rather than overwriting it.
It is definitly one of the best plugins that I have found.
If nothing else, it should be enough to help you accomplish what you need to.