Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
import { Table } from '@tiptap/extension-table/table';
import { ReactNodeViewRenderer } from '@tiptap/react';
import { TableNodeView } from '@colanode/ui/editor/views/table';
export const TableNode = Table.configure({
allowTableNodeSelection: true,
cellMinWidth: 100,
}).extend({
addNodeView() {
return ReactNodeViewRenderer(TableNodeView, {
contentDOMElementTag: 'tbody',
});
},
});