tiptap/packages/extension-document/index.ts
Philipp Kühn 9697d585fe refactoring
2020-10-22 09:42:28 +02:00

8 lines
132 B
TypeScript

import { createNode } from '@tiptap/core'
export default createNode({
name: 'document',
topNode: true,
content: 'block+',
})