Skip to content

Commit

Permalink
fix: CKEditor translations
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <[email protected]>
  • Loading branch information
hamza221 committed Nov 11, 2024
1 parent 9c43e51 commit 22415b0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 22415b0

Please sign in to comment.