Synap Editor에서 편집된 내용이 있는지 여부를 판단합니다Check if any content was edited in Synap Editor.
Return:
Type | Description |
---|---|
Boolean | true || false (내용이 있을경우 true를 반환합니다Return true if there is any.) |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
var html; if(!editor.isEmpty()) { // 에디터가 비어있을 경우를 판단하여 없을경우에만 html을 가져온다 Check if the text contents in the Editor is empty and import html only when there is none. html = editor.getPublishingHtml(); } |
...