Documentation says:
var toolbarSettings = $(".selector").igHtmlEditor("option", "toolbarSettings");
var
toolbarSettings = $(
".selector"
).igHtmlEditor(
"option"
,
"toolbarSettings"
);
But, what can I do with toolbarSettings? What is toolbarSettings good for? I would like to see this kind of information in the documentation :) It looks like a toolbar itself and not the settings of a toolbar. For example if I do:
var toolbarSettings = $("#MyDescription_toolbars_textToolbar").igHtmlEditor("option", "toolbarSettings");
and then:
toolbarSettings.igToolbar("option", "isExpanded");
It returns the state of the toolbar: true or false.
Hello Luis,
The toolbarSettings can be used to apply default settings to the various toolbars. You can see several examples of using the toolbarSettings in the following documentation:
http://www.igniteui.com/help/ightmleditor-configuring-toolbars-and-buttons
Please let me know if you have any other questions that I may help with.