mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
parent
b61bec8bb9
commit
39f942aca8
@ -23,6 +23,12 @@ import TableNodes from './TableNodes'
|
||||
|
||||
export default class Table extends Node {
|
||||
|
||||
get defaultOptions() {
|
||||
return {
|
||||
resizable: true,
|
||||
}
|
||||
}
|
||||
|
||||
get name() {
|
||||
return 'table'
|
||||
}
|
||||
@ -74,7 +80,7 @@ export default class Table extends Node {
|
||||
|
||||
get plugins() {
|
||||
return [
|
||||
columnResizing(),
|
||||
...(this.options.resizable ? [columnResizing()] : []),
|
||||
tableEditing(),
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user