Hi,
I'd like to add my own dropdown to the toolbar to provide the user an autotext feature.
E.g. in the dropdown there will be an item "signature" that will add the users contact info in the editor.
How can I create this custom dropdown?
I've searched the forums and found similar topics but I don't understand which files I need to edit.
The files mentioned there are in the folder "_source" but these files are not used (loaded) when I run my editor (it will use the files in editor/js/ if i'm correct?).
Really could use some help on this.
Thanks in advance,
Geso
I'd like to add my own dropdown to the toolbar to provide the user an autotext feature.
E.g. in the dropdown there will be an item "signature" that will add the users contact info in the editor.
How can I create this custom dropdown?
I've searched the forums and found similar topics but I don't understand which files I need to edit.
The files mentioned there are in the folder "_source" but these files are not used (loaded) when I run my editor (it will use the files in editor/js/ if i'm correct?).
Really could use some help on this.
Thanks in advance,
Geso
RE: Adding custom dropdown in toolbar
How to develop using the "_source" files?
It is possible to run the editor using the original scripts in the "_source" directory. It is usefull when developing or debugging the editor. It is quite easy to do that. Just go the "editor" directory and overwrite fckeditor.html with fckeditor.original.html (remember to backup the first one).
So, to start using again the "compressed" files, just recover the backup "fckeditor.html" file.
RE: Adding custom dropdown in toolbar
I didn't doubt the docs at first, and was quite confused when my changes had no effect even when I emptied the browser cache.
Some editing of the code is necessary to fix this. I left a bug report about it.