Skip to content

Commit

Permalink
Revert "fix: CKEditor translations"
Browse files Browse the repository at this point in the history
This reverts commit 7d76d78.
  • Loading branch information
hamza221 committed Dec 11, 2024
1 parent 81b29df commit 5a000da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 5a000da

Please sign in to comment.