Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Check if any content was edited in Synap Editor.


Return:

TypeDescription
Boolean true || false (Return true if there is any.)



Example:

var html;
if(!editor.isEmpty()) { // Check if the text contents in the Editor is empty and import html only when there is none.
	html = editor.getPublishingHtml();
}




  • No labels