Wijmo UI for the Web
setText Method
wijmo.editor Namespace > wijeditor type : setText Method
The text to show in the editor.
Sets the text to display in the editor.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var text; // Type:  string
    
    returnsValue = $(".selector").wijeditor("setText", text);
});
function setText( 
   text : string
) : any;

Parameters

text
The text to show in the editor.
Remarks
You can use the example code in a click function linked to a button, and replace any existing text in the editor with your text.
See Also

Reference

wijeditor type
wijeditor jQuery Widget