Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

303 B
Raw Blame
import { ListKeymap } from '@tiptap/extension-list';

export const ListKeymapExtension = ListKeymap.configure({
  listTypes: [
    {
      itemName: 'listItem',
      wrapperNames: ['bulletList', 'orderedList'],
    },
    {
      itemName: 'taskItem',
      wrapperNames: ['taskList'],
    },
  ],
});