mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-21 15:28:09 +08:00
15 lines
185 B
TypeScript
15 lines
185 B
TypeScript
import { Node } from '@tiptap/core'
|
|
|
|
export default class Document extends Node {
|
|
|
|
name = 'document'
|
|
|
|
topNode = true
|
|
|
|
schema() {
|
|
return {
|
|
content: 'block+',
|
|
}
|
|
}
|
|
|
|
} |