CKFinder 3 Documentation

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

Properties

CKFinder.Plugin
: String
Path to plugin folder. ...

Path to plugin folder. Ending with '/'.

Defined By

Methods

CKFinder.Plugin
( 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

CKFinder.Plugin
( 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