Skip to content

Commit ba048c0

Browse files
committed
DOC-3151: The mceInsertContent command could delete the parent block element when an anchor was selected.
1 parent f88cde7 commit ba048c0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,15 @@ In previous versions of {productname}, the "lock aspect ratio" button in the `Co
232232

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

235+
=== The `mceInsertContent` command could delete the parent block element when an anchor was selected.
236+
// #TINY-11953
237+
238+
The {productname} `mceInsertContent` command could inadvertently remove the parent block element when an anchor (`<a>`) tag was selected.
239+
240+
In senarios such as when an anchor element was fully selected, the surrounding block-level parent tag, such as `<p>` or `<div>`, could be incorrectly removed, causing unexpected content structure changes. This issue primarily affected Chrome users, as it did not reproduce consistently in Safari or Firefox.
241+
242+
The issue has been resolved in {release-version}. The `mceInsertContent` command now properly retains the parent block elements when inserting content into a selected anchor element.
243+
235244
=== Japanese keyboard could insert content while the editor was in `readonly` mode
236245
// #TINY-11363
237246

0 commit comments

Comments
 (0)