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

11 lines
146 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 {
name = 'document'
schema = {
content: 'block+',
}
}