ITADN

TypeError: ModuleClass is not a constructor

#38Closedbeerinho 创建于 2025-09-03
B
beerinhocommented
Hey! I've just tried to upgrade to v3 in my Ember (webpack) app but I'm running into an issue when trying to instantiate Quill. I get this error - `TypeError: ModuleClass is not a constructor` - when running ``` Quill.register('modules/blotFormatter2', BlotFormatter2); new Quill( document.getElementById(`quill-editor-${this.elementId}`), { modules: { blotFormatter2: {}, }}, ); ``` Is this a vite thing and I just have to use the old version or is there something else I could try?
关闭于 2025-09-25 7 条评论