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:
parent
e2f082b81e
commit
18e346cd95
@ -12,7 +12,8 @@ Quill.register("modules/imageResize", ImageResize);
|
||||
|
||||
const modules = {
|
||||
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"],
|
||||
},
|
||||
toolbar: [
|
||||
|
@ -10,6 +10,7 @@
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user