onEditorToolbarClick

fires when the user clicks the editor toolbar

void onEditorToolbarClick(string name,string|number toolbar_id,object editor,object form){ ... };

Parameters

namestringthe item name
toolbar_idstring|numberthe toolbar id
editorobjectthe editor instance
formobjectthe form instance

Example

myForm.attachEvent("onEditorToolbarClick", function(name, toolbar_id, editor, form){
    // your code here
});

Back to top