tiptap/packages/tiptap-document-extension/index.ts
2020-03-05 21:05:01 +01:00

11 lines
141 B
TypeScript

import { Node } from '@tiptap/core'
export default class Document extends Node {
name = 'doc'
schema = {
content: 'block+',
}
}