From 977db362096c1e533ac0e73244bd2d83f8e16e78 Mon Sep 17 00:00:00 2001 From: abhinavgandham Date: Tue, 6 May 2025 15:02:24 +1000 Subject: [PATCH 1/4] DOC-3151: Pressing before a floating image sometimes duplicated the image. --- modules/ROOT/pages/7.9.0-release-notes.adoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/7.9.0-release-notes.adoc b/modules/ROOT/pages/7.9.0-release-notes.adoc index 6394d0a9a6..b37b9f16ef 100644 --- a/modules/ROOT/pages/7.9.0-release-notes.adoc +++ b/modules/ROOT/pages/7.9.0-release-notes.adoc @@ -153,10 +153,12 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a {productname} {release-version} also includes the following bug fix: -// === -// #TINY-vwxyz1 +=== Pressing `enter` before a floating image sometimes duplicated the image. +// #TINY-1676 -// CCFR here. +Previously, An issue in **Firefox** previously caused lines containing floating images to be handled incorrectly during deletion, resulting in content not being cleared properly and images being duplicated. + +With the release of {productname} {release-version}, this behavior has been resolved. Deleting lines with floating images now works as expected, ensuring that duplicate images no longer appear. [[security-fixes]] From 089285e23813b2d23395bf55f2311035ce6c0e1f Mon Sep 17 00:00:00 2001 From: "CODE:AG" <57781325+abhinavgandham@users.noreply.github.com> Date: Tue, 6 May 2025 15:46:34 +1000 Subject: [PATCH 2/4] Update modules/ROOT/pages/7.9.0-release-notes.adoc --- modules/ROOT/pages/7.9.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/7.9.0-release-notes.adoc b/modules/ROOT/pages/7.9.0-release-notes.adoc index b37b9f16ef..201ef6955e 100644 --- a/modules/ROOT/pages/7.9.0-release-notes.adoc +++ b/modules/ROOT/pages/7.9.0-release-notes.adoc @@ -156,7 +156,7 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a === Pressing `enter` before a floating image sometimes duplicated the image. // #TINY-1676 -Previously, An issue in **Firefox** previously caused lines containing floating images to be handled incorrectly during deletion, resulting in content not being cleared properly and images being duplicated. +Previously, An issue in **Firefox** caused lines containing floating images to be handled incorrectly during deletion, resulting in content not being cleared properly and images being duplicated. With the release of {productname} {release-version}, this behavior has been resolved. Deleting lines with floating images now works as expected, ensuring that duplicate images no longer appear. From 47ee9a0389bda7c9956599cb84581f81cea8d362 Mon Sep 17 00:00:00 2001 From: "CODE:AG" <57781325+abhinavgandham@users.noreply.github.com> Date: Tue, 6 May 2025 16:07:26 +1000 Subject: [PATCH 3/4] Update modules/ROOT/pages/7.9.0-release-notes.adoc --- modules/ROOT/pages/7.9.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/7.9.0-release-notes.adoc b/modules/ROOT/pages/7.9.0-release-notes.adoc index 201ef6955e..405db322d7 100644 --- a/modules/ROOT/pages/7.9.0-release-notes.adoc +++ b/modules/ROOT/pages/7.9.0-release-notes.adoc @@ -156,7 +156,7 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a === Pressing `enter` before a floating image sometimes duplicated the image. // #TINY-1676 -Previously, An issue in **Firefox** caused lines containing floating images to be handled incorrectly during deletion, resulting in content not being cleared properly and images being duplicated. +Previously, when pressing `Enter` before a floating image, the image could be duplicated instead of a new line being correctly inserted. This issue was due to limitations in the native content-editable behavior of **Firefox**, which {productname} previously relied on for handling new lines. In particular, Firefox did not clear line content correctly when it included floated elements, resulting in duplicated images. With the release of {productname} {release-version}, this behavior has been resolved. Deleting lines with floating images now works as expected, ensuring that duplicate images no longer appear. From 4c60db30f3ceb702a8099f4d6061cc8b2075f194 Mon Sep 17 00:00:00 2001 From: "CODE:AG" <57781325+abhinavgandham@users.noreply.github.com> Date: Tue, 6 May 2025 16:07:34 +1000 Subject: [PATCH 4/4] Update modules/ROOT/pages/7.9.0-release-notes.adoc --- modules/ROOT/pages/7.9.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/7.9.0-release-notes.adoc b/modules/ROOT/pages/7.9.0-release-notes.adoc index 405db322d7..b8d7b9861c 100644 --- a/modules/ROOT/pages/7.9.0-release-notes.adoc +++ b/modules/ROOT/pages/7.9.0-release-notes.adoc @@ -158,7 +158,7 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a Previously, when pressing `Enter` before a floating image, the image could be duplicated instead of a new line being correctly inserted. This issue was due to limitations in the native content-editable behavior of **Firefox**, which {productname} previously relied on for handling new lines. In particular, Firefox did not clear line content correctly when it included floated elements, resulting in duplicated images. -With the release of {productname} {release-version}, this behavior has been resolved. Deleting lines with floating images now works as expected, ensuring that duplicate images no longer appear. +With the release of {productname} {release-version}, an internal new line mechanism has been introduced to replace the unreliable browser behavior. This ensures consistent and correct handling of new lines around floating content. Pressing `Enter` before a floating image now behaves as expected, and duplicate images no longer appear. [[security-fixes]]