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