Wijmo UI for the Web
editorMode Option

Default value: 'wysiwyg'

Set the type of editor to show initially.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijeditor("option", "editorMode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijeditor("option", "editorMode", newValue);
        
});
Javascript (Specification) 
var editorMode : string;
Remarks
It has three options: wysiwyg/code/split. wysiwyg -- A visual designer with toolbar buttons that allow you to format text. code -- A code view of the text that allows you to edit the HTML formatting. split -- A horizontally split editor with the visual designer in the top pane and the code view in the bottom.In this mode, the user can resize the panes by dragging the horizontal bar separating them up or down.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijeditor jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.