Skip to content

Commit 3a3b8de

Browse files
committed
DOC-3147: Deleting a whole element would sometimes modify nearby content.
1 parent b3a9cdd commit 3a3b8de

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/ROOT/pages/8.0-release-notes.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
148148

149149
// CCFR here.
150150

151+
=== Deleting a whole element would sometimes modify nearby content
152+
// #TINY-11868
153+
154+
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 `<div>` element that precedes a `<p>` tag could cause the `<p>` to be transformed into a `<div>`, resulting in unintended structural changes. This behavior was inconsistent and particularly noticeable outside of test environments such as the Fiddle editor.
155+
156+
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.
157+
151158

152159
[[security-fixes]]
153160
== Security fixes

0 commit comments

Comments
 (0)