How to use the tiptap-extensions.TableHeader function in tiptap-extensions

To help you get started, we’ve selected a few tiptap-extensions 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 area17 / twill / frontend / js / components / WysiwygTiptap.vue View on Github external
extensions.push(new OrderedList())
            break
          }
          case 'code': {
            extensions.push(new Code())
            break
          }
          case 'code-block': {
            extensions.push(new CodeBlock())
            break
          }
          case 'table': {
            extensions.push(new Table({
              resizable: false
            }))
            extensions.push(new TableHeader())
            extensions.push(new TableCell())
            extensions.push(new TableRow())
            break
          }
        }
      })