This event occurs after pasting.
var editorId = 'synapEditor'; var editorConfig = {}; var html = ''; var editor = new SynapEditor(editorId, editorConfig, html); editor.setEventListener('afterEdit', function (e) { }); |
var editorId = 'synapEditor'; var editorConfig = {}; var html = ''; function SynapEditorAfterEdit(e) { } new SynapEditor(editorId, editorConfig, html); |
var editorId = 'synapEditor'; var editorConfig = {}; var html = ''; var eventListeners = { afterEdit: function (e) { } }; new SynapEditor(editorId, editorConfig, html, eventListeners); |
In the form of parameter e delivered through functions
{ editor: SynapEditor, eventType: 'afterEdit', actionName: 'insertText', // edit action name cancelable: false, returnValue: null } |