SCEditor

setWysiwygEditorValue()

setWysiwygEditorValue(val) Since: 1.3.0

Sets the current value of the WYSIWYG editor.

Info: Using the val() method is the prefered way of setting the editors value. It will check if the editor is in WYSIWYG or source mode and set the appropriate value.

Syntax

instance.setWysiwygEditorValue(val);

Parameters

val
Type: String

The value to set. Should be HTML.