Issue Bug Closed

#108387CKeditor: Clicking into a link forces full link selection, preventing partial selection

Philipp Kitzberger 12/03/25, 11:31 updated 03/31/26, 09:00

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

History 37

  1. Philipp Kitzberger commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-12-07T00:20:10+00:00" > 12/07/25, 00:20 </span>

    Applied in changeset commit:199a8f3eeee1071f6a1dc10c7790c71d3eb96043.