Skip to content

Commit 7b26145

Browse files
authored
DOC-3147: Deleting a whole element would sometimes modify nearby content (#3752)
* DOC-3147: Deleting a whole element would sometimes modify nearby content. * copy edits. * Update modules/ROOT/pages/8.0-release-notes.adoc
1 parent 74cee8e commit 7b26145

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
@@ -210,6 +210,13 @@ In previous versions of {productname}, whitespace between `<colgroup>` and `<col
210210

211211
This issue has been resolved in `{release-version}`. Both `colgroup` and `col` elements are now treated as block-level elements, ensuring that extraneous whitespace is stripped from these areas. As a result, the editor now produces cleaner and more concise table markup.
212212

213+
=== Deleting a whole element would sometimes modify nearby content
214+
// #TINY-11868
215+
216+
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.
217+
218+
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.
219+
213220

214221
[[security-fixes]]
215222
== Security fixes

0 commit comments

Comments
 (0)