Review 13.4 Merged

92014[BUGFIX] RTE: Allow partial selection when clicking into links

Garvin Hicking CR +2 V +2 Easy +2 −6 updated 12/07/25, 00:18

Commit message

Clicking into a link element was automatically expanding the selection
to encompass the entire link, preventing users from selecting or
editing fractions of the link content such as icons or individual words.

The expandSelectionToFullLink() call has been removed from showUI(),
as it interfered with normal editing behavior when clicking into links.
The full link expansion is still preserved in openLinkBrowser(), where
it's needed to prevent link splitting when modifying link attributes
through the link browser dialog.

This restores the ability to work with partial selections within links
while maintaining protection against unintended link splitting during
link attribute editing.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
    • Sven Liebert +1
  • Verified V +2 Done
    • Garvin Hicking +2
    • Sven Liebert +1
    • core-ci +1 CI

Issues 2

Files 2

Review log 45

  1. Garvin Hicking commented on patch set 1 12/05/25, 15:38

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 12/05/25, 15:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91666

  3. Sven Liebert voted on patch set 1 CR +1 V +1 12/05/25, 20:52

  4. Garvin Hicking voted on patch set 1 CR +2 V +2 12/07/25, 00:18

  5. Garvin Hicking merged patch set 2 12/07/25, 00:18