tiptap/packages/tiptap-extension-document/index.ts
Philipp Kühn 42853fc583 rename
2020-03-27 22:04:02 +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+',
}
}