Skip to content

Commit

Permalink
Merge pull request #10337 from nextcloud/fix/ckeditor/language-import
Browse files Browse the repository at this point in the history
fix: CKEditor translations
  • Loading branch information
ChristophWurst authored Nov 11, 2024
2 parents 9c43e51 + 22415b0 commit 685e427
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 685e427

Please sign in to comment.