Wijmo UI for the Web
wijeditor jQuery Widget
Author and manage HTML content on your web page in an intuitive, Microsoft Word-like editor that allows you to edit in your preferred style: design, source code, or split view.
Syntax
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.editor.wijeditor.options
     
    $(".selector").wijeditor(options);
});
Javascript (Specification) 
function wijeditor() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public OptioncustomContextMenu

Default value: true

Determines whether the custom context menu is shown.

 
public OptioneditorMode

Default value: 'wysiwyg'

Set the type of editor to show initially.

 
public OptionfullScreenContainerSelector

Default value: ""

Set to the selector that returns the container to fill when the user selects full screen mode.By default, it fills the client's area on the web page.

 
public OptionfullScreenMode

Default value: false

Set this option to true to show the editor in full screen mode when the page is first opened.

 
public Optionmode

Default value: 'ribbon'

Specify which toolbar to render. Ribbon and simple modes allow you to customize the toolbar.

 
public OptionshowFooter

Default value: true

Specify whether to show the footer at the bottom of the editor, where users can toggle full screen mode, word wrap, and view mode.

 
public OptionshowPathSelector

Default value: true

Select whether to show the path selector in the left side of the footer.

 
public OptionsimpleModeCommands

Default value: null

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

 
public Optiontext

Default value: null

Set the text that appears in the editor.

 
Top
Methods
 NameDescription
public MethoddestroyRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodgetTextGets the text displayed in the editor.  
public MethodrefreshAdjust the editor layout.  
public MethodsetTextSets the text to display in the editor.  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventcommandButtonClickOccurs when the command button is clicked.  
public EventtextChangedOccurs when the text changed.  
Top

See Also

Widgets

Editor

Reference

wijeditor jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.