How to disable editor buttons in the toolbar when the table cell is active?
Closed this issue · 3 comments
Hello! Can you help me with my problem: I see that when focusing on a table cell, some editor control buttons are blocked. How can I specify which buttons to block and which not? For example, I need to prohibit adding headings, images, etc.
The part of my editor component code where I include this plugin:
const postsDesignOptions = { theme: 'snow', modules: { htmlEditButton: {}, toolbar: { container: toolbarOptions.postsDesign, }, 'table-better': { menus: ['column', 'row', 'merge', 'table', 'cell', 'wrap', 'delete'], toolbarTable: true, }, keyboard: { bindings: QuillTableBetter.keyboardBindings, }, }, };
The current version does not support specifying to disable buttons.
Do you want to specify disable buttons in future versions?
Yes, it will be great.
Refer to toolbarbuttons and Formats supported by table.