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

8 lines
131 B
TypeScript
Raw Normal View History

import { Node } from '@tiptap/core'
2019-12-17 06:20:05 +08:00
2020-12-08 04:32:50 +08:00
export const Document = Node.create({
name: 'doc',
2020-10-21 21:17:05 +08:00
topNode: true,
2020-11-02 22:18:03 +08:00
content: 'block+',
2020-10-21 21:17:05 +08:00
})