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
$(function () {
    var options; // Type:  wijmo.editor.wijeditor.options
     
    $(".selector").wijeditor(options);
});
function wijeditor() : any;
Options
 NameDescription
public Option

Default value: false

If the compactMode option is true and ribbon is not simple,it will show compact ribbon although the editor is full width.

 
public Option

Default value: true

Determines whether the custom context menu is shown.

 
public Option

Default value: 'wysiwyg'

Set the type of editor to show initially.

 
public Option

Default value: []

The fontNames option specifies the list of font name which will be shown in the font name drop down list. Use the option to customize font names.

 
public Option

Default value: []

The fontSizes option specifies the list of font size which will be shown in the font size drop down list. Use the option to customize font sizes.

 
public Option

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 Option

Default value: false

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

 
public Option

Default value: null

Use the localization option in order to localize text which not depends on culture.

 
public Option

Default value: 'ribbon'

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

 
public Option

Default value: false

Determine if wijeditor is in readonly mode

 
public Option

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 Option

Default value: true

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

 
public Option

Default value: null

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

 
public Option

Default value: null

Set the text that appears in the editor.

 
Top
Methods
 NameDescription
public MethodRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodGets the text displayed in the editor.  
public MethodAdjust the editor layout.  
public MethodSets the text to display in the editor.  
public MethodReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventOccurs when the command button is clicked.  
public EventOccurs when the text changed.  
Top
See Also

Widgets

Editor

Reference

wijeditor jQuery Widget