How to use the tiptap-commands.toggleList function in tiptap-commands

To help you get started, we’ve selected a few tiptap-commands examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github scrumpy / tiptap / packages / tiptap-extensions / src / nodes / OrderedList.js View on Github external
keys({ type, schema }) {
    return {
      'Shift-Ctrl-9': toggleList(type, schema.nodes.list_item),
    }
  }
github scrumpy / tiptap / packages / tiptap-extensions / src / nodes / BulletList.js View on Github external
keys({ type, schema }) {
    return {
      'Shift-Ctrl-8': toggleList(type, schema.nodes.list_item),
    }
  }