Methods

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'});