linecontrol-editor code example
Example: linecontrol-editor
$("#txtEditor").Editor('createMenuItem', { "text": "WordCount",
"icon":"icon icon-glass",
"tooltip": "WordCount",
"commandname": null,
"custom":function(button, parameters){
alert("I am here");
},
"params": {'option':"value"}
});