So I've gotten a long way making my plugin to insert custom text, but there's a last(??) obstacle I can't seem to figure out.
In the examples I've found, insertText uses CKEDITOR.instances.<instanceName>
I can't imagine that you have to hardcode the editor's name into a plugin!
I'm also not sure if you have to use the dialog's 'onOk' event, or an element's 'commit'..
In the examples I've found, insertText uses CKEDITOR.instances.<instanceName>
I can't imagine that you have to hardcode the editor's name into a plugin!
I'm also not sure if you have to use the dialog's 'onOk' event, or an element's 'commit'..