tiptap/packages/extension-document/index.ts

8 lines
132 B
TypeScript
Raw Normal View History

2020-10-21 21:17:05 +08:00
import { createNode } from '@tiptap/core'
2019-12-17 06:20:05 +08:00
2020-10-21 21:17:05 +08:00
export default createNode({
name: 'document',
topNode: true,
content: 'block+',
})