tiptap/packages/tiptap-document-extension/index.ts
2019-12-16 23:20:05 +01:00

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+',
}
}