#108387CKeditor: Clicking into a link forces full link selection, preventing partial selection
Description
Introduced by #108331
When clicking into a link element that contains multiple parts (e.g., text and icons), the editor automatically expands the selection to encompass the entire link. This prevents users from placing the cursor or selecting only a portion of the link content.
*Steps to Reproduce:*
1. Create a link in the RTE of (13.4.21 and 14) that contains multiple elements, e.g. text and an icon: <a href="#"><i class="fa fa-something"></i>Icon Text</a>
2. Click into the link to position the cursor or select only part of it (e.g., just the icon)
3. Observe the selection behavior
Expected Behavior: Only on opening the link popup the selection should be expanded to the full link text.
Actual Behavior: The selection is automatically expanded on clicking the link element, making it impossible to work with individual parts of the link content.
Reviews 3
Related issues 1
History 37
-
Gerrit Code Review pushed patch set 1 for main to change 91995 status
NewUnder Review 12/03/25, 11:32 -
Gerrit Code Review pushed patch set 2 for main to change 91995 12/03/25, 12:08
-
Garvin Hicking changed Related to #108331 12/03/25, 12:08
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 92014 12/05/25, 15:38
-
Gerrit Code Review pushed patch set 1 for 14.0 to change 92030 12/07/25, 00:18
-
Philipp Kitzberger commented and changed status
Under ReviewResolved done0 %100 % 12/07/25, 00:20 -
Benni Mack changed status
ResolvedClosed 03/31/26, 09:00
Applied in changeset commit:199a8f3eeee1071f6a1dc10c7790c71d3eb96043.