From 8599be3eb3639c067095378f06bbdd7431bf0844 Mon Sep 17 00:00:00 2001 From: LucasC Date: Wed, 28 Feb 2024 14:00:47 +0100 Subject: [PATCH] XWIKI-21523: Fields in form of WYSIWYG configuration are not accessible * Fixed case on ids to match new codestyle --- .../src/main/resources/CKEditor/ConfigSheet.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/ConfigSheet.xml b/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/ConfigSheet.xml index c96c6424ec50..7b64c93608ba 100644 --- a/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/ConfigSheet.xml +++ b/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/ConfigSheet.xml @@ -218,12 +218,12 @@ require(['jquery', 'xwiki-ckeditor', 'bootstrap-select'], function($, ckeditorPr var commaSeparator = /\s*,\s*/; var enhanceConfig = function(editor) { var availablePlugins = editor.config.plugins.split(commaSeparator); - enhanceList($('#CKEditor\\.ConfigClass_0_removePlugins'), availablePlugins, 'availablePluginsSelect'); + enhanceList($('#CKEditor\\.ConfigClass_0_removePlugins'), availablePlugins, 'available-plugins-select'); var availableButtons = Object.keys(editor.ui.items); - enhanceList($('#CKEditor\\.ConfigClass_0_removeButtons'), availableButtons, 'availableButtonsSelect'); + enhanceList($('#CKEditor\\.ConfigClass_0_removeButtons'), availableButtons, 'available-buttons-select'); - enhanceTextArea($('#CKEditor\\.ConfigClass_0_advanced'), 'advancedTextArea'); + enhanceTextArea($('#CKEditor\\.ConfigClass_0_advanced'), 'advanced-text-area'); }; var enhanceList = function(input, allowedValues, selectId) {