Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...