From 7d76d7824c7441046e00c465479984a9d85a3608 Mon Sep 17 00:00:00 2001 From: Hamza Mahjoubi Date: Mon, 11 Nov 2024 15:33:21 +0100 Subject: [PATCH] fix: CKEditor translations Signed-off-by: Hamza Mahjoubi --- src/components/TextEditor.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/TextEditor.vue b/src/components/TextEditor.vue index 9dd50a7023..521f1978a6 100644 --- a/src/components/TextEditor.vue +++ b/src/components/TextEditor.vue @@ -264,11 +264,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 })