3
0
mirror of https://github.com/Qortal/q-tube.git synced 2025-02-11 17:55:51 +00:00

Bugfix that prevents TextEditor.tsx from crashing on release builds

This commit is contained in:
Qortal Dev 2024-12-30 20:21:38 -07:00
parent e2f082b81e
commit 18e346cd95
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,8 @@ Quill.register("modules/imageResize", ImageResize);
const modules = { const modules = {
imageResize: { imageResize: {
parchment: Quill.import("parchment"), // This line crashes on release build, but NOT Dev Mode for some reason. <_<
// parchment: Quill.import("parchment"),
modules: ["Resize", "DisplaySize"], modules: ["Resize", "DisplaySize"],
}, },
toolbar: [ toolbar: [

View File

@ -10,6 +10,7 @@
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true, "noEmit": true,
"jsx": "react-jsx", "jsx": "react-jsx",