Interface: TablePluginProps
@lexical/react/LexicalTablePlugin.TablePluginProps
Properties
hasCellBackgroundColor
• Optional
hasCellBackgroundColor: boolean
When false
(default true
), the background color of TableCellNode will always be removed.
Defined in
packages/lexical-react/src/LexicalTablePlugin.ts:28
hasCellMerge
• Optional
hasCellMerge: boolean
When false
(default true
), merged cell support (colspan and rowspan) will be disabled and all
tables will be forced into a regular grid with 1x1 table cells.
Defined in
packages/lexical-react/src/LexicalTablePlugin.ts:24
hasHorizontalScroll
• Optional
hasHorizontalScroll: boolean
When true
(default false
), tables will be wrapped in a <div>
to enable horizontal scrolling
Defined in
packages/lexical-react/src/LexicalTablePlugin.ts:36
hasTabHandler
• Optional
hasTabHandler: boolean
When true
(default true
), the tab key can be used to navigate table cells.