Hello All
i want to create a test plugin in CKEditor 3.2.2 whose purpose is to show alert while click on editor,I have mention the plugin name in the config file.
But when ever i run the page a Java Script error message shows 'onLoad' is null or not an object
The written script is as follows
Please help
Thanks and regards
Sourav
Posts: 5
Joined: Fri Aug 13, 2010 8:18 pm
Private message
i want to create a test plugin in CKEditor 3.2.2 whose purpose is to show alert while click on editor,I have mention the plugin name in the config file.
But when ever i run the page a Java Script error message shows 'onLoad' is null or not an object
The written script is as follows
(function() { init: function(editor) { init(); //this.editor = editor; var test = function() { alert('test from plugin'); } this.document.on('onclick', test); } })();
Please help
Thanks and regards
Sourav
Posts: 5
Joined: Fri Aug 13, 2010 8:18 pm
Private message