| 1 | import { |
| 2 | BaseTableCellHeaderPlugin, |
| 3 | BaseTableCellPlugin, |
| 4 | BaseTablePlugin, |
| 5 | BaseTableRowPlugin, |
| 6 | } from "@platejs/table"; |
| 7 | |
| 8 | import { |
| 9 | TableCellElementStatic, |
| 10 | TableCellHeaderElementStatic, |
| 11 | TableElementStatic, |
| 12 | TableRowElementStatic, |
| 13 | } from "@/components/plate/ui/table-node-static"; |
| 14 | |
| 15 | export const BaseTableKit = [ |
| 16 | BaseTablePlugin.withComponent(TableElementStatic), |
| 17 | BaseTableRowPlugin.withComponent(TableRowElementStatic), |
| 18 | BaseTableCellPlugin.withComponent(TableCellElementStatic), |
| 19 | BaseTableCellHeaderPlugin.withComponent(TableCellHeaderElementStatic), |
| 20 | ]; |
| 21 |