Open navneetccna opened 7 years ago
remove this: var editor = $("#txtEditor").Editor();
Try this: $("#txtEditor").Editor('createMenuItem', { "text": "TouchGlasses", "icon": "fa fa-arrow-down", "tooltip": "Touch Glasses", "custom": function (button, parameters) { $("#txtEditor").Editor({ "bold": false }); }, "params": { 'option1': "value1" } });
I would like to add a button in toolbar which basically toggle buttons minimal to all.
Can we do that ?
My Code
it is creating new instance of the editor
But it says : editor is not a function