CKFinder.Plugin
A plugin base class. All plugins inherit from this class.
To learn about creating custom plugins check Creating CKFinder 3 plugins tutorial.
Defined By
Methods
addCss( css )
Adds CSS rules to be appended to the CKFinder instance. ...
Adds CSS rules to be appended to the CKFinder instance.
CKFinder.define( {
init: function() {
var iconUrl = this.path + '/gfx/pizza.svg';
this.addCss( '.ui-icon-pizza:after { background-image: url(' + iconUrl + '); }' );
}
} );
Parameters
- css : String
The styles rules to be appended
init( finder )
Override this method to run your code when plugin is started. ...
Override this method to run your code when plugin is started.
CKFinder.define( {
init: function( finder ) {
finder.on( 'app:start', function() {
finder.request( 'dialog:info', { msg: 'It works!' } );
} );
}
} );
Parameters
- finder : CKFinder.Application