tiptap/packages/tiptap-document-extension/index.ts
2020-03-06 00:15:36 +01:00

13 lines
164 B
TypeScript

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