fix: resolve TypeScript errors in frontend build
This commit is contained in:
21
node_modules/@tiptap/extension-document/dist/index.js
generated
vendored
Normal file
21
node_modules/@tiptap/extension-document/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
// src/document.ts
|
||||
import { Node } from "@tiptap/core";
|
||||
var Document = Node.create({
|
||||
name: "doc",
|
||||
topNode: true,
|
||||
content: "block+",
|
||||
renderMarkdown: (node, h) => {
|
||||
if (!node.content) {
|
||||
return "";
|
||||
}
|
||||
return h.renderChildren(node.content, "\n\n");
|
||||
}
|
||||
});
|
||||
|
||||
// src/index.ts
|
||||
var index_default = Document;
|
||||
export {
|
||||
Document,
|
||||
index_default as default
|
||||
};
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user