Skip to content

Commit 753ac0b

Browse files
authored
DOC-3355: Certain combinations of divs inside of lists would cause issues turning off lists (#4098)
1 parent d9a14e3 commit 753ac0b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,13 @@ The background color of accordion items in the TinyMCE AI Review list has been u
225225

226226
// CCFR here.
227227

228+
=== Certain combinations of divs inside of lists would cause issues turning off lists
229+
// #TINY-14070
230+
231+
Previously, certain combinations of `+div+` elements inside list items could prevent lists from being toggled off. The list detection logic would prematurely identify a `+div+` within a list item as a list host rather than recognizing it as content inside an existing list. This made it impossible to remove the list formatting in affected content structures.
232+
233+
In {productname} {release-version}, the list detection logic now correctly identifies when a `+div+` is inside a list and locates the parent list before treating the element as a host. Lists with nested `+div+` elements can now be toggled off as expected.
234+
228235
=== Script and style elements would incorrectly be removed by DOMPurify when considered valid in the schema
229236
// #TINY-9655
230237

0 commit comments

Comments
 (0)