DHTMLX Docs & Samples Explorer

onEditorToolbarClick

fires when the user clicks the editor toolbar.

Parameters:

  • name - (string) the item id (the value of attribute name)
  • toolbar_id - (string) the toolbar id
  • editor - (object) the editor instance
  • form - (object) the form instance
myForm.attachEvent("onEditorToolbarClick", function(name, toolbar_id, editor, form){
	//any custom logic here
});