Hey there all, I've searched for this but could not find a definitive working answer. I'm new to CKEditor and I'm pretty impressed so far.
I currently have "Cut", "Copy", and "Paste" in my right-click context menu, which is excellent. However, I'd like to add a few custom and existing commands, such as the "link" command.
I tried using the CKEDITOR.addCommand function inside config.js, but this must be the wrong place to add it, as I receive an error message in Firebug saying "addCommand is not a function". One limitation I have is I can't place JS inside my html page, it must be added in external scripts such as config.js or perhaps a plugin.js file.
Thanks for any help you can provide.
I currently have "Cut", "Copy", and "Paste" in my right-click context menu, which is excellent. However, I'd like to add a few custom and existing commands, such as the "link" command.
I tried using the CKEDITOR.addCommand function inside config.js, but this must be the wrong place to add it, as I receive an error message in Firebug saying "addCommand is not a function". One limitation I have is I can't place JS inside my html page, it must be added in external scripts such as config.js or perhaps a plugin.js file.
Thanks for any help you can provide.