I'm looking to replace some elements of the toolbar with drop-down DHTML menus.
I was hoping there is a function I can call and pass the command name as the argument, such as Execute("AddTable"), Execute("Bold"), Execute("Italic"), etc.
Well, I found something that does that - ExecuteNamedCommand() - but it only seems to work with a few commands (Print, Strikethrough, etc.).
How can I get the other commands to work, for example the ones listed in fckcommands.js and fcktablecommand.js?
Thanks.
I was hoping there is a function I can call and pass the command name as the argument, such as Execute("AddTable"), Execute("Bold"), Execute("Italic"), etc.
Well, I found something that does that - ExecuteNamedCommand() - but it only seems to work with a few commands (Print, Strikethrough, etc.).
How can I get the other commands to work, for example the ones listed in fckcommands.js and fcktablecommand.js?
Thanks.
RE: Replacing the toolbar with menus
FCK.Commands.GetCommand( 'Save' ).Execute();
RE: Replacing the toolbar with menus