diff --git a/.api-version b/.api-version index d439d82b62..3ecb398163 100644 --- a/.api-version +++ b/.api-version @@ -1 +1 @@ -8.8.2 \ No newline at end of file +8.9.0 \ No newline at end of file diff --git a/modules/ROOT/nav.adoc b/modules/ROOT/nav.adoc index e7946da4b6..2bf6024a3a 100644 --- a/modules/ROOT/nav.adoc +++ b/modules/ROOT/nav.adoc @@ -422,6 +422,9 @@ ** xref:tinymce-and-cors.adoc[Cross-Origin Resource Sharing (CORS)] * Release information ** xref:release-notes.adoc[Release notes for {productname}] +*** {productname} 8.9.1 +**** xref:8.9.1-release-notes.adoc#overview[Overview] +**** xref:8.9.1-release-notes.adoc#accompanying-premium-plugin-changes[Accompanying Premium Plugin changes] *** {productname} 8.9.0 **** xref:8.9.0-release-notes.adoc#overview[Overview] **** xref:8.9.0-release-notes.adoc#accompanying-premium-plugin-changes[Accompanying Premium Plugin changes] diff --git a/modules/ROOT/pages/8.9.1-release-notes.adoc b/modules/ROOT/pages/8.9.1-release-notes.adoc new file mode 100644 index 0000000000..1caf3fb909 --- /dev/null +++ b/modules/ROOT/pages/8.9.1-release-notes.adoc @@ -0,0 +1,107 @@ += {productname} {release-version} +:release-version: 8.9.1 +:navtitle: {productname} {release-version} +:description: Release notes for {productname} {release-version} +:keywords: releasenotes, new, changes, bugfixes +:page-toclevels: 1 + +include::partial$misc/admon-releasenotes-for-stable.adoc[] + + +[[overview]] +== Overview + +{productname} {release-version} was released for {enterpriseversion} and {cloudname} on Wednesday, September 9^th^, 2026. These release notes provide an overview of the changes for {productname} {release-version}, including: + +* xref:accompanying-premium-plugin-changes[Accompanying Premium plugin changes] + + +[[accompanying-premium-plugin-changes]] +== Accompanying Premium plugin changes + +The following premium plugin updates were released alongside {productname} {release-version}. + +=== AI Assistant + +The {productname} {release-version} release includes an accompanying release of the **AI Assistant** premium plugin. + +**AI Assistant** includes the following fix. + +==== The `+body_class+` and `+body_id+` options were not applied to the AI Assistant preview iframe body, and the `+mce-content-body+` class was missing +// #TINYMCE-14872 + +Previously, the **AI Assistant** plugin did not apply the xref:add-css-options.adoc#body_class[`+body_class+`] and xref:add-css-options.adoc#body_id[`+body_id+`] options to the preview iframe body element, and omitted the `+mce-content-body+` class, so the preview did not render content consistently with the editor content. + +In {productname} {release-version}, the **AI Assistant** plugin applies both options to the preview body element, and always applies the `+mce-content-body+` class alongside any class set through `+body_class+`. + +For information on the **AI Assistant** plugin, see: xref:ai.adoc[AI Assistant]. + + +=== Revision History + +The {productname} {release-version} release includes an accompanying release of the **Revision History** premium plugin. + +**Revision History** includes the following fix. + +==== The `+body_id+` option was not applied to the Revision History preview iframe body +// #TINYMCE-14872 + +Previously, the **Revision History** plugin applied the xref:add-css-options.adoc#body_class[`+body_class+`] option to the preview iframe body element but not the xref:add-css-options.adoc#body_id[`+body_id+`] option, so the preview did not render content consistently with the editor content. + +In {productname} {release-version}, the **Revision History** plugin applies `+body_id+` to the preview body element, so styles that target that id now apply in the preview. + +For information on the **Revision History** plugin, see: xref:revisionhistory.adoc[Revision History]. + + +=== TinyMCE AI + +The {productname} {release-version} release includes an accompanying release of the **TinyMCE AI** premium plugin. + +**TinyMCE AI** includes the following fixes. + +==== The `+body_class+` and `+body_id+` options were not applied to the TinyMCE AI preview iframe body +// #TINYMCE-14872 + +Previously, the **TinyMCE AI** plugin did not apply the xref:add-css-options.adoc#body_class[`+body_class+`] and xref:add-css-options.adoc#body_id[`+body_id+`] options to the preview iframe body element, so the preview did not render content consistently with the editor content. + +In {productname} {release-version}, the **TinyMCE AI** plugin applies both options to the preview body element, adding the `+body_class+` value alongside the `+mce-content-body+` class rather than replacing it. + +==== Menus in the TinyMCE AI sidebars showed unnecessary scrollbars when the sidebar type was set to 'floating' +// #TINYMCE-14570 + +Previously, menus opened from the **TinyMCE AI** sidebars showed unnecessary scrollbars. With the xref:tinymceai.adoc#tinymceai_sidebar_type[`+tinymceai_sidebar_type+`] option set to `+'floating'+`, the menu for adding context sources, the model selection dropdown, and the menu on a chat history item each showed a second vertical scrollbar or a horizontal scrollbar. This regression, introduced in {productname} 8.5, made those menus harder to read and to scroll. + +In {productname} {release-version}, the **TinyMCE AI** plugin no longer applies its own overflow constraint to these menus, and sizes each menu to the space available to it rather than to the full width of its container. Menus in the Chat sidebar and the Review sidebar now show a single scrollbar, and only when the content does not fit. + +==== 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. + +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]. + + +=== Suggested Edits + +The {productname} {release-version} release includes an accompanying release of the **Suggested Edits** premium plugin. + +**Suggested Edits** includes the following fixes. + +==== 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. + +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. + +==== The `+body_class+` and `+body_id+` options were not applied to the Suggested Edits preview iframe body +// #TINYMCE-14872 + +Previously, the **Suggested Edits** plugin did not apply the xref:add-css-options.adoc#body_class[`+body_class+`] and xref:add-css-options.adoc#body_id[`+body_id+`] options to the preview iframe body element, so the preview did not render content consistently with the editor content. + +In {productname} {release-version}, the **Suggested Edits** plugin applies both options to the preview body element, adding the `+body_class+` value alongside the `+mce-content-body+` class rather than replacing it. + +For information on the **Suggested Edits** plugin, see: xref:suggestededits.adoc[Suggested Edits]. + diff --git a/modules/ROOT/pages/apis/tinymce.editor.adoc b/modules/ROOT/pages/apis/tinymce.editor.adoc index e150869bcc..db1ff1852d 100644 --- a/modules/ROOT/pages/apis/tinymce.editor.adoc +++ b/modules/ROOT/pages/apis/tinymce.editor.adoc @@ -446,14 +446,23 @@ instance.fire('event', {...}); === focus() [source, javascript] ---- -focus(skipFocus: Boolean) +focus(skipFocus: Boolean | Object, skipFocus.scrollToSelection: Boolean) ---- Focuses/activates the editor. This will set this editor as the activeEditor in the tinymce collection it will also place DOM focus inside the editor. +==== Examples +[source, javascript] +---- +tinymce.activeEditor.focus(); +tinymce.activeEditor.focus(true); +tinymce.activeEditor.focus({ scrollToSelection: false }); +---- + ==== Parameters -* `skipFocus (Boolean)` - Skip DOM focus. Just set is as the active editor. +* `skipFocus (Boolean | Object)` - If true, skip DOM focus and only set this editor as the active editor. If an object, focus the editor and optionally control scrolling. +* `skipFocus.scrollToSelection (Boolean)` - If false, focuses the editor without scrolling the selection into view. Defaults to true. ''' diff --git a/modules/ROOT/pages/changelog.adoc b/modules/ROOT/pages/changelog.adoc index b8da56eeb5..4d0cc74ba6 100644 --- a/modules/ROOT/pages/changelog.adoc +++ b/modules/ROOT/pages/changelog.adoc @@ -4,6 +4,10 @@ NOTE: This is the {productname} Community version changelog. For information about the latest {cloudname} or {enterpriseversion} Release, see: xref:release-notes.adoc[{productname} Release Notes]. +== xref:8.9.1-release-notes.adoc[8.9.1 - 2026-09-09] + +NOTE: This release contains fixes for Premium plugins only and does not include any changes to the core {productname} editor. + == xref:8.9.0-release-notes.adoc[8.9.0 - 2026-08-31] ### Improved diff --git a/modules/ROOT/pages/release-notes.adoc b/modules/ROOT/pages/release-notes.adoc index edbe89b759..c0f14b024e 100644 --- a/modules/ROOT/pages/release-notes.adoc +++ b/modules/ROOT/pages/release-notes.adoc @@ -8,6 +8,12 @@ This section lists the releases for {productname} {productmajorversion} and the [cols="1,1"] |=== +a| +[.lead] +xref:8.9.1-release-notes.adoc#overview[{productname} 8.9.1] + +Release notes for {productname} 8.9.1 + a| [.lead] xref:8.9.0-release-notes.adoc#overview[{productname} 8.9.0] @@ -134,5 +140,5 @@ xref:8.0-release-notes.adoc#overview[{productname} 8.0.0] Release notes for {productname} 8.0.0 // Uncomment the dummy cell when the number of cells in the table is odd to ensure the table renders correctly. -a| +// a| |===