Wijmo UI for the Web
simpleModeCommands Field

Default value: null

Specify an array of commands to display in customizing the simple toolbar.

Syntax
Javascript (Usage) 
var value; // Type: object
value = jQuery.wijmo.wijeditor.options.simpleModeCommands;
Javascript (Specification) 
var simpleModeCommands : object;
Example
$("#wijeditor").wijeditor({
           mode: "simple",
           simpleModeCommands: ["Bold","Undo"]
        });
Remarks
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"]
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.