add topNode option
This commit is contained in:
@@ -2,7 +2,9 @@ import { Node } from '@tiptap/core'
|
||||
|
||||
export default class Document extends Node {
|
||||
|
||||
name = 'doc'
|
||||
name = 'document'
|
||||
|
||||
topNode = true
|
||||
|
||||
schema = {
|
||||
content: 'block+',
|
||||
|
||||
Reference in New Issue
Block a user