Status |
---|
| |
---|
colour | Yellow |
---|
title | 릴리즈 Release 2.10.0 이상or Above |
---|
|
This event occurs before pasting. Clipboard data is received through this event, and modified HTML can be pasted through the setContentsToPaste function.
...
Code Block |
---|
|
var editorId = 'synapEditor';
var editorConfig = {};
var html = '';
function SynapEditorBeforePaste(e) {
var editor = e.editor;
var html = e.clipboardData.html;
// Processes 필요한the 클립보드required DATAclipboard 처리data.
editor.setContentsToPaste(html);
}
new SynapEditor(editorId, editorConfig, html); |
...