[WEB-5381] fix: buffer issue with vite #8091

This commit is contained in:
M. Palanikannan 2025-11-10 20:33:41 +05:30 committed by GitHub
parent 5ec09a7fe1
commit 5d7bf554dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 108 additions and 87 deletions

View file

@ -49,6 +49,7 @@
"@tiptap/core": "catalog:",
"@tiptap/extension-blockquote": "^2.22.3",
"@tiptap/extension-character-count": "^2.22.3",
"buffer": "^6.0.3",
"@tiptap/extension-collaboration": "^2.22.3",
"@tiptap/extension-emoji": "^2.22.3",
"@tiptap/extension-image": "^2.22.3",

View file

@ -1,3 +1,4 @@
import { Buffer } from "buffer";
import { getSchema } from "@tiptap/core";
import { generateHTML, generateJSON } from "@tiptap/html";
import { prosemirrorJSONToYDoc, yXmlFragmentToProseMirrorRootNode } from "y-prosemirror";