From 5a000da5fc064bbbf132ad59fd13a2003cba9352 Mon Sep 17 00:00:00 2001 From: Hamza Mahjoubi Date: Wed, 11 Dec 2024 17:07:03 +0700 Subject: [PATCH] Revert "fix: CKEditor translations" This reverts commit 7d76d7824c7441046e00c465479984a9d85a3608. --- src/components/TextEditor.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/TextEditor.vue b/src/components/TextEditor.vue index 900aae7afe..35dca92b4a 100644 --- a/src/components/TextEditor.vue +++ b/src/components/TextEditor.vue @@ -292,7 +292,11 @@ export default { try { logger.debug(`loading ${language} translations for CKEditor`) await import( - `../../node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/translations/${language}.js`) + /* webpackMode: "lazy-once" */ + /* webpackPrefetch: true */ + /* webpackPreload: true */ + `@ckeditor/ckeditor5-build-decoupled-document/build/translations/${language}` + ) this.showEditor(language) } catch (error) { logger.error(`could not find CKEditor translations for "${language}"`, { error })