Skip to content

Commit 58bdbe2

Browse files
authored
DOC-12102: New list item was not inserted correctly when existing list item had a block element inside. (#3759)
1 parent c0f88ff commit 58bdbe2

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
@@ -458,6 +458,13 @@ Previously, when inserting HTML fragments through APIs or pasting, the parser wo
458458

459459
In {productname} {release-version}, the parser has been updated to improve the retention of structures when inserting HTML fragments. It now validates these fragments in the context of their parent structure, ensuring that valid structures are preserved even if the fragment contains invalid HTML resulting in more predictable and desirable outcomes when handling complex HTML content.
460460

461+
=== New list item was not inserted correctly when existing list item had a block element inside
462+
// #TINY-12102
463+
464+
{productname} {release-version} resolves an issue affecting list management when parent list items contain block-level formatting. Previously, when a list item containing a sub-list was formatted as a block element (such as `<p>` or `<div>`), pressing Enter at the end of that item would incorrectly position the new list item alongside the sub-list items instead of as a sibling of the parent item.
465+
466+
{productname} {release-version} addresses this by ensuring that when a user presses Enter at the end of a list item that contains block-level formatting, the new list item is correctly inserted as a sibling of the parent list item, rather than being placed incorrectly alongside the sub-list items.
467+
461468

462469
[[security-fixes]]
463470
== Security fixes

0 commit comments

Comments
 (0)