File/URL paths In CKeditor

Get Plugin URLs

CKEDITOR.plugins.getFilePath( 'my_plugin' );
//returns: http://192.168.33.13/ck/ckeditor/plugins/my_plugin/plugin.js?t=F7J9 

CKEDITOR.plugins.getPath( 'my_plugin' );
//returns: http://192.168.33.13/ck/ckeditor/plugins/my_plugin/

 

Cookbook Category: 

Add new comment