Skip to content

Commit c7720ea

Browse files
DOC-3147: Attempting to add a newline directly after a element such as an image would cause an error.
1 parent b3a9cdd commit c7720ea

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,12 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
143143

144144
{productname} {release-version} also includes the following bug fix<es>:
145145

146-
// === <TINY-vwxyz 1 changelog entry>
147-
// #TINY-vwxyz1
146+
=== Attempting to add a newline directly after a `block` element such as an image would cause an error.
147+
// #TINY-12045
148148

149-
// CCFR here.
149+
In previous versions of {productname}, the content selection logic incorrectly assumed that the target element resided within a text node. In reality, it was placed directly inside a `<div>` element. This mismatch led to a scenario where the selected content was mistakenly reinserted into itself, resulting in errors when pressing `Enter` immediately after an image and introducing a risk of data loss.
150+
151+
This issue has been resolved in {productname} {release-version}. The selection logic has been updated to correctly identify and handle content within `<div>` elements such that it does not try to insert content within itself. As a result, pressing `Enter` after an image inside a `<div>` element no longer triggers errors or causes unintended behavior.
150152

151153

152154
[[security-fixes]]

0 commit comments

Comments
 (0)