buttons: [
{
name: 'Mycustombutton1',
tooltip: 'Mycustombutton1',
icon: `<svg path></svg>`,
exec: async (instance) => {
// need way to remove Mycustombutton1 button from toolbar
// something like instance.editor.remove etc
}
},
'|', 'bold', 'italic',
'|', 'table', '|', 'image',
],
This is to limit the user to click Mycustombutton1 only once. I thought removing would be easy but seems tough, if that is not possible then even disabling would be also acceptable, just give me some pointer.
Jodit Version: 3.4.xxxxx
Browser: Chrome OS: Windows Is React App: True
This is to limit the user to click Mycustombutton1 only once. I thought removing would be easy but seems tough, if that is not possible then even disabling would be also acceptable, just give me some pointer.