updateDesign

Availability: >= 3.0

Type: Object Method

Description: Updates the editor's design view with the value of the editor's textarea.

Syntax:

editor.updateDesign();

Each editor stores HTML code in a regular textarea. This function will update an editor's WYSIWYG view with code from the textarea. Note that if the code in the textarea is older than the code in the WYSIWYG view then this will have the effect of an undo.