Methods guide of inLine

This plugin version is deprecated, get the new version now to stay up to date.

Version:

On this page:

    Try the new inLine configurator to easily get the best plugin configuration!
    Configure now

    inLine comes with the following methods which allow you to further customize your inline text editor.


    destroy

    This method closes the toolbar and destroy the inLine function restoring the selector on which it has been initialized at its default state.

    EXAMPLE

    var myEditor = new inLine('#myEditor');
    myEditor.destroy();

    set

    This method allows you to edit any options on a selector on which inLine has been initialized. Basically, the set method adds and updates the already existing options.

    EXAMPLE

    var myEditor = new inLine('#myEditor');
    myEditor.set({theme:'dark'});