...
| Code Block | ||||
|---|---|---|---|---|
| ||||
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();
} |
...
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
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();
} |
...