mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 09:45:51 +00:00
Merge pull request #58 from QortalSeth/main
Bugfix that prevents TextEditor.tsx from crashing on release builds
This commit is contained in:
commit
1cfdb7a7bf
@ -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