diff --git a/src/components/TextEditor.vue b/src/components/TextEditor.vue index 35dca92b4a..900aae7afe 100644 --- a/src/components/TextEditor.vue +++ b/src/components/TextEditor.vue @@ -292,11 +292,7 @@ export default { try { logger.debug(`loading ${language} translations for CKEditor`) await import( - /* webpackMode: "lazy-once" */ - /* webpackPrefetch: true */ - /* webpackPreload: true */ - `@ckeditor/ckeditor5-build-decoupled-document/build/translations/${language}` - ) + `../../node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/translations/${language}.js`) this.showEditor(language) } catch (error) { logger.error(`could not find CKEditor translations for "${language}"`, { error })