aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/components/editor/plugins/table-plugin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/app/components/editor/plugins/table-plugin.ts')
-rw-r--r--apps/web/app/components/editor/plugins/table-plugin.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/web/app/components/editor/plugins/table-plugin.ts b/apps/web/app/components/editor/plugins/table-plugin.ts
new file mode 100644
index 00000000..82f65ffa
--- /dev/null
+++ b/apps/web/app/components/editor/plugins/table-plugin.ts
@@ -0,0 +1,9 @@
+'use client';
+
+import { TablePlugin } from '@udecode/plate-table/react';
+
+export const tablePlugin = TablePlugin.configure({
+ options: {
+ enableMerging: true,
+ },
+});