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

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 Editor is empty and import html only when there is none.
	html = editor.getPublishingHtml();
}




  • No labels