mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-23 00:27:49 +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+',
|
|
}
|
|
|
|
} |