Hi,
I have added a plug in a js file like this
CKFinder.addPlugin( 'myplugin', function( api ) {
var toolId = api.addToolPanel( '<h3 onclick="jsFunc();">My Images</h3>' );
api.showTool( toolId );
} );
now i want to execute a jsFunc(), which is a javascript function. where and how to define it.
I tried a lot but in this js file its not working, however the plugin is displaying fine.
thanks in advance.
regards,
Rizwan Ali
I have added a plug in a js file like this
CKFinder.addPlugin( 'myplugin', function( api ) {
var toolId = api.addToolPanel( '<h3 onclick="jsFunc();">My Images</h3>' );
api.showTool( toolId );
} );
now i want to execute a jsFunc(), which is a javascript function. where and how to define it.
I tried a lot but in this js file its not working, however the plugin is displaying fine.
thanks in advance.
regards,
Rizwan Ali
Re: how to add a new plugin in ckfinder and call javscript o
Purpose of this plugin is to get some other images and saving them in the selected folder.
Re: how to add a new plugin in ckfinder and call javscript o
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+