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 { List } from 'lucide-react';
import { EditorCommand } from '@colanode/client/types';
export const BulletListCommand: EditorCommand = {
key: 'bullet-list',
name: 'Bullet List',
description: 'Insert a bullet list',
keywords: ['bulletlist', 'bullet', 'list'],
icon: List,
disabled: false,
handler: ({ editor, range }) => {
editor.chain().focus().deleteRange(range).toggleBulletList().run();
},
};