mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-22 16:17:50 +08:00
23 lines
298 B
TypeScript
23 lines
298 B
TypeScript
import { Node } from '@tiptap/core'
|
|
|
|
export default class Document extends Node {
|
|
|
|
// get name() {
|
|
// return 'document'
|
|
// }
|
|
|
|
// get schema() {
|
|
// return {
|
|
// content: 'block+',
|
|
// }
|
|
// }
|
|
|
|
// type = 'nope'
|
|
|
|
name = 'document'
|
|
|
|
schema = {
|
|
content: 'block+',
|
|
}
|
|
|
|
} |