Branch: refs/heads/stable-17.4.x Home: https://github.com/xwiki/xwiki-platform Commit: bded3359070ea3d0f653e55c930b03436e2bbaee https://github.com/xwiki/xwiki-platform/commit/bded3359070ea3d0f653e55c930b0... Author: Simon Urli <[email protected]> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-plugins/src/main/webjar/xwiki-link/plugin.js M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-plugins/src/main/webjar/xwiki-resource/entityResourceSuggester.js M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-plugins/src/main/webjar/xwiki-resource/plugin.js M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-plugins/src/main/webjar/xwiki-resource/resource.js M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-plugins/src/main/webjar/xwiki-resource/resourcePicker.js M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/LinkNameStrategyHelper.xml M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/Translations.xml Log Message: ----------- XWIKI-23154: Link creation dialog shouldn't allow to be validated without selecting a suggestion value (#4196) * Revert "XWIKI-22508: Creating a link in WYSIWYG by selecting text should follow the name strategy" * Define the type of resources that must be selected and not just typed in the input field * Perform a check to ensure that the value is not just typed but is actually selected * Provide an initial value at setup which is considered as a typed value * Provide translation for the error message * ensure to display suggestion on focus * in case an input is provided instead of being selected, then a check is performed on it to assess if the reference exists and/or if it complies with the name strategy This reverts commit 7c1fa96c4550e58f1cdb0e4ae0957a6b73f19780. --------- Co-authored-by: Marius Dumitru Florea <[email protected]> (cherry picked from commit adf9f32f977a706c326319f38a9a8fae270540da) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications