Currently I am doing some development and testing with plugin development and would like to know the following.
How can I check if someone has selected text within the WYSIWYG editor.
Furthermore how can I close the plugin window if someone did not selected text in the WYSIWYG editor.
Hope to hear something from other people who developed plugins...
How can I check if someone has selected text within the WYSIWYG editor.
Furthermore how can I close the plugin window if someone did not selected text in the WYSIWYG editor.
Hope to hear something from other people who developed plugins...
RE: Plugin Development: how to check selected
The discussion thread at http://sourceforge.net/forum/forum.php? ... _id=257180 should explain how to get the selection information. And you should be able to close the plugin window by calling "window.parent.Cancel().
I found that information in the Placeholder and Replace plugins that come with FCKEditor.