fix: resolve TypeScript errors in frontend build

This commit is contained in:
Hiro
2026-03-30 23:16:07 +00:00
parent b733306773
commit 24925e1acb
2941 changed files with 418042 additions and 49 deletions

View File

@@ -0,0 +1,19 @@
import { Node } from '@tiptap/core'
/**
* The default document node which represents the top level node of the editor.
* @see https://tiptap.dev/api/nodes/document
*/
export const Document = Node.create({
name: 'doc',
topNode: true,
content: 'block+',
renderMarkdown: (node, h) => {
if (!node.content) {
return ''
}
return h.renderChildren(node.content, '\n\n')
},
})

5
node_modules/@tiptap/extension-document/src/index.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import { Document } from './document.js'
export * from './document.js'
export default Document