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

11 lines
141 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 04:05:01 +08:00
name = 'doc'
2019-12-17 06:20:05 +08:00
schema = {
content: 'block+',
}
}