Check if any content was edited in Synap Editor.
Return:
Type | Description |
---|---|
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(); }