Status | ||||||
---|---|---|---|---|---|---|
|
에디터가 초기화 되었을 때 발생합니다.
이벤트 등록: API 사용
initialized 이벤트는 에디터 객체가 생성되기 전에 발생하는 이유로 API 방식을 사용하여 등록할 수 없습니다.
이벤트 등록: 함수방식
Code Block | ||
---|---|---|
| ||
var editorId = 'synapEditor'; var editorConfig = {}; var html = ''; function SynapEditorInitialized(e) { // editor 초기화 완료시 실행 (async) var editor = e.editor; } function SynapEditorInitializedSync(e) { // editor 초기화 완료시 실행 (sync) var editor = e.editor; } new SynapEditor(editorId, editorConfig, html); |
...