ㄷㅍ
Table of Contents |
---|
...
이벤트 종류
이벤트 이름 | 버전 | 설명 | ||||
---|---|---|---|---|---|---|
initialized |
| 에디터가 초기화되었을 때 발생합니다 | ||||
beforeUploadImage |
| 이미지를 업로드 하기 전에 발생합니다 | ||||
afterUploadImage |
| 이미지를 업로드 한 후 발생합니다 | ||||
beforeUploadVideo |
| 비디오를 업로드 하기 전에 발생합니다 | ||||
afterUploadVideo |
| 비디오를 업로드 한 후 발생합니다 | ||||
beforeUploadFile |
| 파일을 업로드 하기 전에 발생합니다 | ||||
afterUploadFile |
| 파일을 업로드 한 후 발생합니다 |
...
Code Block | ||
---|---|---|
| ||
editor.setEventListener('이벤트이름', function(evente) { }); |
에디터 초기화시 등록
Code Block | ||
---|---|---|
| ||
var editorId = 'synapEditor'; var editorConfig = {}; var html = ''; var eventListeners = { '이벤트이름': function (e) { } }; new SynapEditor(editorId, editorConfig, html, eventListeners); |
...