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

« Previous Version 4 Next »


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


Parameters:

NameTypeDescription
htmlStringHtml content
optionsObject

릴리즈 2.6.0 이상부터 지원합니다.

{
    callback: function() {}, // 완료 후 호출할 callback함수
    bAsync: false,           // 동기처리 (기본값: false)
    bFocus: true,            // 포커스처리 (기본값: true)
    bOverwrite: true         // 덮어쓰기처리 (기본값: true)
}


Example:

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




  • No labels