From 3a3b8de9a566085b447b1c2934e95ba38ab96ae3 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 9 Jun 2025 15:16:24 +1000 Subject: [PATCH 1/3] DOC-3147: Deleting a whole element would sometimes modify nearby content. --- modules/ROOT/pages/8.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index 7c62f25b54..243996405f 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -148,6 +148,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. +=== Deleting a whole element would sometimes modify nearby content +// #TINY-11868 + +Previously, deleting a complete HTML element using the "Source Code" editor—either by cutting `+Ctrl+X+` or `+Cmd+X+`, backspacing, or pressing delete—could inadvertently modify surrounding content. For example, removing a `
` element that precedes a `

` tag could cause the `

` to be transformed into a `

`, resulting in unintended structural changes. This behavior was inconsistent and particularly noticeable outside of test environments such as the Fiddle editor. + +This issue has been resolved in {productname} {release-version} by improving how element deletions are handled within the editor's DOM logic. Cutting or deleting a selected element now preserves the integrity and tag type of adjacent elements. Users can expect consistent and predictable editing behavior when modifying HTML source content. + [[security-fixes]] == Security fixes From b809f67c365445efc791c0984c10672562532f7c Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 9 Jun 2025 15:20:06 +1000 Subject: [PATCH 2/3] copy edits. --- modules/ROOT/pages/8.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index 243996405f..69fc2e7f2e 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -151,7 +151,7 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a === Deleting a whole element would sometimes modify nearby content // #TINY-11868 -Previously, deleting a complete HTML element using the "Source Code" editor—either by cutting `+Ctrl+X+` or `+Cmd+X+`, backspacing, or pressing delete—could inadvertently modify surrounding content. For example, removing a `
` element that precedes a `

` tag could cause the `

` to be transformed into a `

`, resulting in unintended structural changes. This behavior was inconsistent and particularly noticeable outside of test environments such as the Fiddle editor. +Previously, deleting a complete HTML element using the "Source Code" editor either by cutting `+Ctrl+X+` or `+Cmd+X+`, backspacing, or pressing delete could inadvertently modify surrounding content. For example, removing a `
` element that precedes a `

` tag could cause the `

` to be transformed into a `

`, resulting in unintended structural changes. This behavior was inconsistent and particularly noticeable outside of test environments such as the Fiddle editor. This issue has been resolved in {productname} {release-version} by improving how element deletions are handled within the editor's DOM logic. Cutting or deleting a selected element now preserves the integrity and tag type of adjacent elements. Users can expect consistent and predictable editing behavior when modifying HTML source content. From 94c226aaa91b891e4598bb87a3ae76f6568a64ce Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 14 Jul 2025 13:16:40 +1000 Subject: [PATCH 3/3] Update modules/ROOT/pages/8.0-release-notes.adoc --- modules/ROOT/pages/8.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index 69fc2e7f2e..7cd9f557e5 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -151,7 +151,7 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a === Deleting a whole element would sometimes modify nearby content // #TINY-11868 -Previously, deleting a complete HTML element using the "Source Code" editor either by cutting `+Ctrl+X+` or `+Cmd+X+`, backspacing, or pressing delete could inadvertently modify surrounding content. For example, removing a `
` element that precedes a `

` tag could cause the `

` to be transformed into a `

`, resulting in unintended structural changes. This behavior was inconsistent and particularly noticeable outside of test environments such as the Fiddle editor. +Previously, deleting a complete HTML element using the "Source Code" editor either by cutting `+Ctrl+X+` or `+Cmd+X+`, backspacing, or pressing delete could inadvertently modify surrounding content. For example, removing a `
` element that precedes a `

` tag could cause the `

` to be transformed into a `

`, resulting in unintended structural changes. This issue has been resolved in {productname} {release-version} by improving how element deletions are handled within the editor's DOM logic. Cutting or deleting a selected element now preserves the integrity and tag type of adjacent elements. Users can expect consistent and predictable editing behavior when modifying HTML source content.