I really like FCKEditor and would like to create some plugins, however I couldn't find any documentation on how to actually use the sample plugin ("FindReplace" in 2.0RC2).
To hopefully save other people the hours I have just spent (although now I do know a lot more about how the system works), it is very simple.
1. Copy the FindReplace folder from _samples/_plugins/FindReplace to editor/plugins/FindReplace.
2. Add the line
FCKConfig.Plugins.Add("FindReplace", "en,it");
to the main fckconfig.js The first parameter is the plugin folder name, the second parameter is a comma delimited string of the plugin's available language files.
The plugin's .js file must be called "fckplugin.js" in the plugin's folder.
3. Use the toolbar name registered by the plugin in your FCKConfig.ToolbarSets definition.
To hopefully save other people the hours I have just spent (although now I do know a lot more about how the system works), it is very simple.
1. Copy the FindReplace folder from _samples/_plugins/FindReplace to editor/plugins/FindReplace.
2. Add the line
FCKConfig.Plugins.Add("FindReplace", "en,it");
to the main fckconfig.js The first parameter is the plugin folder name, the second parameter is a comma delimited string of the plugin's available language files.
The plugin's .js file must be called "fckplugin.js" in the plugin's folder.
3. Use the toolbar name registered by the plugin in your FCKConfig.ToolbarSets definition.
RE: How to install the sample plugin
posted are my highly unstable plugins. One for spellerpages that only 'kinda' works with firefox, and one for a checkbox form field.
http://www.unm.edu/~valliant/
fodder for fellow people figuring out stuff at least. If I get them stable I'll let people know.
RE: How to install the sample plugin
I've also created a plugin that uses the dialog JS so you can have tabes and such. It's just a 'insert checkbox form field' plugin, but could be modded for the other input types easily. Hopefully someone else is doing a better job of this. I'll post both tomorrow just so people will have more examples to view.
Plugins ROCK! Its much easier to port stuff from version to version now! THANKS FOLKS!
RE: How to install the sample plugin
I would be interested to take a look at your plugin, I think I could get it to work for IE as well.
RE: How to install the sample plugin
RE: How to install the sample plugin
see https://sourceforge.net/forum/message.p ... id=2948929
RE: How to install the sample plugin
Make sure your folder name has the correct case, '/editor/plugins/FindReplace/'
I also had to change the case in a few places in 'FindReplace/fckplugin.js', both the .html strings and the .gif strings I had to replace 'findreplace' with 'FindReplace'