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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Synap Editor에서 편집된 내용이 있는지 여부를 판단합니다.


Return:

TypeDescription
Boolean true || false (내용이 있을경우 true를 반환합니다.)



Example:

var html;
if(!editor.isEmpty()) { // 에디터가 비어있을 경우를 판단하여 없을경우에만 html을 가져온다.
	html = editor.getPublishingHtml();
}




  • No labels