From bba6fff4a554b13fee8d76b2840c42863ca003ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 18 Oct 2025 01:07:56 +0200 Subject: [PATCH] Only include the ckeditor translations we really need --- assets/controllers/elements/ckeditor_controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/controllers/elements/ckeditor_controller.js b/assets/controllers/elements/ckeditor_controller.js index 5612ca05..49988db8 100644 --- a/assets/controllers/elements/ckeditor_controller.js +++ b/assets/controllers/elements/ckeditor_controller.js @@ -31,7 +31,8 @@ import "../../css/components/ckeditor.css"; const translationContext = require.context( 'ckeditor5/translations', false, - /\.js$/ + //Only load the translation files we will really need + /(de|it|fr|ru|ja|cs|da|zh|pl|hu)\.js$/ ); function loadTranslation(language) {