Skip to content

Commit 521a7df

Browse files
authored
Docs: DOC-3526 - The AI preview did not match the editor content structure, causing style rendering differences (#4190)
1 parent 12f2e1e commit 521a7df

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ The {productname} {release-version} release includes an accompanying release of
7373

7474
**TinyMCE AI** includes the following improvements and fixes and additions.
7575

76+
==== The AI preview did not match the editor content structure, causing style rendering differences
77+
// #TINY-14328
78+
79+
Previously, the AI suggestions preview rendered content inside a wrapper element within the preview iframe body, rather than directly into the iframe body as the editor does. Because the preview and editor had different structures, injected styles could render differently. Absolutely positioned elements and body-level CSS rules did not always apply the same way, which could cause glitches such as misaligned table headers and footers.
80+
81+
In {productname} {release-version}, the preview inserts content directly into the iframe body so that its structure mirrors the editor. Injected styles now produce the same visual result in both, and the preview renders consistently with the editor.
82+
7683
==== Bulk action buttons when reviewing AI suggestions now reflect the current progress
7784
// #TINY-14228
7885

0 commit comments

Comments
 (0)