mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +08:00
10 lines
156 B
TypeScript
10 lines
156 B
TypeScript
import { Node } from '@tiptap/core'
|
|
|
|
export default new Node()
|
|
.name('document')
|
|
.topNode()
|
|
.schema(() => ({
|
|
content: 'block+',
|
|
}))
|
|
.create()
|