From 06b8eca7c955858ebe1d6bed4a97fa6a3e811be8 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 7 Sep 2026 10:29:04 +1000 Subject: [PATCH 1/3] Docs: TINYDOC-3579 - Styles from the `content_style` option did not take precedence over `content_css` in the preview iframe. --- modules/ROOT/pages/8.9.1-release-notes.adoc | 32 +++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/modules/ROOT/pages/8.9.1-release-notes.adoc b/modules/ROOT/pages/8.9.1-release-notes.adoc index 095b9ce73a..18a47a46b3 100644 --- a/modules/ROOT/pages/8.9.1-release-notes.adoc +++ b/modules/ROOT/pages/8.9.1-release-notes.adoc @@ -72,6 +72,38 @@ The {productname} {release-version} release includes an accompanying release of For information on the **** plugin, see: xref:.adoc[]. +=== Suggested Edits + +The {productname} {release-version} release includes an accompanying release of the **Suggested Edits** premium plugin. + +**Suggested Edits** includes the following fix. + +==== Styles from the `+content_style+` option did not take precedence over `+content_css+` in the preview iframe +// #TINYMCE-14748 + +Previously, the **Suggested Edits** plugin added the styles from the xref:add-css-options.adoc#content_style[`+content_style+`] option to the preview before the stylesheets loaded by the xref:add-css-options.adoc#content_css[`+content_css+`] option. The styles from both options carry equal specificity, so the `+content_css+` stylesheets overrode the `+content_style+` rules. The preview then rendered content differently from the editor content. The difference was clearest in body width and padding, two properties that `+content_style+` commonly sets. + +In {productname} {release-version}, the **Suggested Edits** plugin adds the styles from `+content_style+` after the stylesheets loaded by `+content_css+`, matching the order that {productname} uses in the editor content. Styles from `+content_style+` now apply in the preview, so the preview renders consistently with the editor content. + +For information on the **Suggested Edits** plugin, see: xref:suggestededits.adoc[Suggested Edits]. + + +=== TinyMCE AI + +The {productname} {release-version} release includes an accompanying release of the **TinyMCE AI** premium plugin. + +**TinyMCE AI** includes the following fix. + +==== Styles from the `+content_style+` option did not take precedence over `+content_css+` in the preview iframe +// #TINYMCE-14748 + +Previously, the **TinyMCE AI** plugin added the styles from the xref:add-css-options.adoc#content_style[`+content_style+`] option to the preview before the stylesheets loaded by the xref:add-css-options.adoc#content_css[`+content_css+`] option. The styles from both options carry equal specificity, so the `+content_css+` stylesheets overrode the `+content_style+` rules. The preview then rendered content differently from the editor content. The difference was clearest in body width and padding, two properties that `+content_style+` commonly sets. + +In {productname} {release-version}, the **TinyMCE AI** plugin adds the styles from `+content_style+` after the stylesheets loaded by `+content_css+`, matching the order that {productname} uses in the editor content. Styles from `+content_style+` now apply in the preview, so the preview renders consistently with the editor content. + +For information on the **TinyMCE AI** plugin, see: xref:tinymceai.adoc[TinyMCE AI]. + + [[accompanying-premium-plugin-end-of-life-announcement]] == Accompanying Premium plugin end-of-life announcement From 499a7bac1ff0c8928f4634fffa3f44f7e39f56ff Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 8 Sep 2026 10:55:57 +1000 Subject: [PATCH 2/3] Update modules/ROOT/pages/8.9.1-release-notes.adoc Co-authored-by: Sorita Heng <69398037+soritaheng@users.noreply.github.com> --- modules/ROOT/pages/8.9.1-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.9.1-release-notes.adoc b/modules/ROOT/pages/8.9.1-release-notes.adoc index 18a47a46b3..744c8dcbe9 100644 --- a/modules/ROOT/pages/8.9.1-release-notes.adoc +++ b/modules/ROOT/pages/8.9.1-release-notes.adoc @@ -97,7 +97,7 @@ The {productname} {release-version} release includes an accompanying release of ==== Styles from the `+content_style+` option did not take precedence over `+content_css+` in the preview iframe // #TINYMCE-14748 -Previously, the **TinyMCE AI** plugin added the styles from the xref:add-css-options.adoc#content_style[`+content_style+`] option to the preview before the stylesheets loaded by the xref:add-css-options.adoc#content_css[`+content_css+`] option. The styles from both options carry equal specificity, so the `+content_css+` stylesheets overrode the `+content_style+` rules. The preview then rendered content differently from the editor content. The difference was clearest in body width and padding, two properties that `+content_style+` commonly sets. +Previously, the **TinyMCE AI** plugin added the styles from the xref:add-css-options.adoc#content_style[`+content_style+`] option to the preview before the stylesheets loaded by the xref:add-css-options.adoc#content_css[`+content_css+`] option. The styles from both options carry equal specificity, so the `+content_css+` stylesheets overrode the `+content_style+` rules. In {productname} {release-version}, the **TinyMCE AI** plugin adds the styles from `+content_style+` after the stylesheets loaded by `+content_css+`, matching the order that {productname} uses in the editor content. Styles from `+content_style+` now apply in the preview, so the preview renders consistently with the editor content. From bffb04aa2cb01d644921889fd5819eeccd4920a7 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 8 Sep 2026 10:56:11 +1000 Subject: [PATCH 3/3] Update modules/ROOT/pages/8.9.1-release-notes.adoc Co-authored-by: Sorita Heng <69398037+soritaheng@users.noreply.github.com> --- modules/ROOT/pages/8.9.1-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.9.1-release-notes.adoc b/modules/ROOT/pages/8.9.1-release-notes.adoc index 744c8dcbe9..1932013117 100644 --- a/modules/ROOT/pages/8.9.1-release-notes.adoc +++ b/modules/ROOT/pages/8.9.1-release-notes.adoc @@ -81,7 +81,7 @@ The {productname} {release-version} release includes an accompanying release of ==== Styles from the `+content_style+` option did not take precedence over `+content_css+` in the preview iframe // #TINYMCE-14748 -Previously, the **Suggested Edits** plugin added the styles from the xref:add-css-options.adoc#content_style[`+content_style+`] option to the preview before the stylesheets loaded by the xref:add-css-options.adoc#content_css[`+content_css+`] option. The styles from both options carry equal specificity, so the `+content_css+` stylesheets overrode the `+content_style+` rules. The preview then rendered content differently from the editor content. The difference was clearest in body width and padding, two properties that `+content_style+` commonly sets. +Previously, the **Suggested Edits** plugin added the styles from the xref:add-css-options.adoc#content_style[`+content_style+`] option to the preview before the stylesheets loaded by the xref:add-css-options.adoc#content_css[`+content_css+`] option. The styles from both options carry equal specificity, so the `+content_css+` stylesheets overrode the `+content_style+` rules. In {productname} {release-version}, the **Suggested Edits** plugin adds the styles from `+content_style+` after the stylesheets loaded by `+content_css+`, matching the order that {productname} uses in the editor content. Styles from `+content_style+` now apply in the preview, so the preview renders consistently with the editor content.