We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6f8cf9 commit 239a2e3Copy full SHA for 239a2e3
packages/extension-table/src/table.ts
@@ -224,8 +224,10 @@ export const Table = Node.create<TableOptions>({
224
},
225
226
addProseMirrorPlugins() {
227
+ const isResizable = this.options.resizable && this.editor.isEditable
228
+
229
return [
- ...(this.options.resizable ? [columnResizing({
230
+ ...(isResizable ? [columnResizing({
231
handleWidth: this.options.handleWidth,
232
cellMinWidth: this.options.cellMinWidth,
233
View: this.options.View,
0 commit comments