mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-25 02:07:49 +08:00
13 lines
164 B
TypeScript
13 lines
164 B
TypeScript
import { Node } from '@tiptap/core'
|
|
|
|
export default class Document extends Node {
|
|
|
|
name = 'document'
|
|
|
|
topNode = true
|
|
|
|
schema = {
|
|
content: 'block+',
|
|
}
|
|
|
|
} |