$(function () {
// Get value
var returnsValue; // Type: object
returnsValue = $(".selector").wijeditor("option", "simpleModeCommands");
// Set value
var newValue; // Type: object
$(".selector").wijeditor("option", "simpleModeCommands", newValue);
});
Note that you must specify every command that you want to display,
as these commands are used in place of the default commands.Therefore,
the sample code shown below would only render two commands in the toolbar.
The simple mode commands displayed by default are:
"BlockQuote", "Bold", "BulletedList", "InsertCode", "InsertDate", "InsertImage",
"Italic", "Link", "NumberedList", "NumberedList"
Note: The buildin simple commands support the following commands:
"Form","Image","TextArea","Button","TextBox","List","DropDownList",
"HiddenField","Radio","CheckBox","JustifyLeft,"JustifyCenter",
"JustifyRight","JustifyFull","Border","NumberedList","BulletedList",
"Outdent","Indent","BackColor","ForeColor","Bold","Italic","UnderLine",
"SubScript","SuperScript","Template","RemoveFormat","InsertBreak",
"InsertParagraph","InsertPrint","InsertHR","Undo","Redo","Preview","Cleanup",
"Cut","Copy","Paste","SelectAll","Media","InsertSpecialChar","InsertDate","Find",
"Inspect","InsertImage","Link","FontName","FontSize","BlockQuote","InsertCode"
The default simple mode commands are:
["Bold", "Italic", "Link", "BlockQuote",
"StrikeThrough", "InsertDate", "InsertImage",
"NumberedList", "BulletedList", "InsertCode"]