tiptap/packages/tiptap-extension-document/index.ts

13 lines
164 B
TypeScript
Raw Normal View History

2019-12-17 06:20:05 +08:00
import { Node } from '@tiptap/core'
export default class Document extends Node {
2020-03-06 07:15:36 +08:00
name = 'document'
topNode = true
2019-12-17 06:20:05 +08:00
schema = {
content: 'block+',
}
}