Page tree

Versions Compared

Key

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


API Name

...



Anchor
getPublishingHtml
getPublishingHtml
getPublishingHtml


Synap Editor에서 편집된 내용을 HTML 형식으로 가져옵니다.

...

Code Block
languagejs
themeEmacs
var html = editor.getPublishingHtml({'contentPadding':'current'});

...

HTML content를 Synap Editor에 보여줍니다.

Parameters:

...

Code Block
languagejs
themeEmacs
var html = "<H1>Synap Editor</H><P>Holistic Rich Text Editor</P>";
editor.openHTML(html);