From 351e084ab106dbe755dc07f98d35828decfef713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 18 Oct 2025 01:17:19 +0200 Subject: [PATCH] Fixed translation of our placeholder ckeditor plugin by keeping existing translations on localization --- 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 49988db8..46e78fd5 100644 --- a/assets/controllers/elements/ckeditor_controller.js +++ b/assets/controllers/elements/ckeditor_controller.js @@ -87,7 +87,8 @@ export default class extends Controller { //Load translations if not english let translations = loadTranslation(language); if (translations) { - config.translations = [translations]; + //Keep existing translations (e.g. from other plugins), if any + config.translations = [window.CKEDITOR_TRANSLATIONS, translations]; } const watchdog = new EditorWatchdog();