diff --git a/modules/ROOT/pages/7.9.0-release-notes.adoc b/modules/ROOT/pages/7.9.0-release-notes.adoc index 2ee099b28d..858d5e7b8d 100644 --- a/modules/ROOT/pages/7.9.0-release-notes.adoc +++ b/modules/ROOT/pages/7.9.0-release-notes.adoc @@ -218,6 +218,22 @@ In previous versions of {productname}, an issue was identified where the editor With the release of {productname} {release-version}, this issue has been addressed by implementing event handlers that intercept and block IME-related input events and their default behaviors while in read-only mode. This enhancement ensures that the readonly setting is strictly enforced, preventing content modifications from all input sources, including IME. +=== Autolink behavior was updated to preserve existing links. +// TINY-11836 + +Previously, the Autolink plugin could incorrectly re-link content that was already part of a hyperlink when the user pressed Enter at the end of a line. This occurred when the cursor was placed immediately after a link element rather than inside it and the visible text resembled a URL. As a result, Autolink could unintentionally overwrite link attributes, modify the destination URL, or alter otherwise valid markup. + +{productname} {release-version} resolves this issue by treating any text inside or directly following a hyperlink as the end of its search scope. This prevents Autolink from creating a new link if the content is already hyperlinked. The behavior now consistently mirrors the existing handling for cases when the cursor is inside a link. + +.Example of incorrect behavior +[source,html] +---- +

www.google.com

+

www.google.com

+---- + +This update improves reliability when working with links, ensuring that attributes and destinations remain unchanged unless explicitly edited. + === Editor did not scroll into viewport on receiving focus on Chrome and Safari. // #TINY-12017