Skip to content

Commit ffd7ffd

Browse files
authored
Docs: DOC-3526 - The TinyMCE AI plugin now adds an ai property to the SetContent and BeforeSetContent event payloads (#4215)
1 parent 805c22c commit ffd7ffd

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

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

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,6 @@ include::partial$misc/admon-releasenotes-for-stable.adoc[]
2828

2929
The following premium plugin updates were released alongside {productname} {release-version}.
3030

31-
=== TinyMCE AI
32-
33-
The {productname} {release-version} release includes an accompanying release of the **TinyMCE AI** premium plugin.
34-
35-
**TinyMCE AI** includes the following fix.
36-
37-
==== Chat can now update an empty document
38-
// #TINY-14393
39-
40-
Previously, Chat did not update an empty document when generating content. Chat displayed the generated content only in the Chat sidebar, because the AI service could not apply edits when the document had no content.
41-
42-
In {productname} {release-version}, AI Chat can now handle updating an empty document. When the editor is empty, the generated content is now directly inserted into the document rather than only being displayed in the sidebar.
43-
44-
For information on the **TinyMCE AI** plugin, see: xref:tinymceai.adoc[TinyMCE AI].
45-
4631
// === <Premium plugin name 1> <Premium plugin name 1 version>
4732

4833
// The {productname} {release-version} release includes an accompanying release of the **<Premium plugin name 1>** premium plugin.
@@ -75,6 +60,20 @@ The {productname} {release-version} release includes an accompanying release of
7560

7661
**TinyMCE AI** includes the following improvements and fixes and additions.
7762

63+
==== The TinyMCE AI plugin now adds an `ai` property to the `SetContent` and `BeforeSetContent` event payloads
64+
// #TINYMCE-14302
65+
66+
Previously, the **TinyMCE AI** plugin set content into the editor without marking it as AI-generated. Integrations that listen to the `+BeforeSetContent+` and `+SetContent+` events had no reliable way to distinguish this content from content set by other sources, and could not apply origin-specific processing, tracking, or analytics.
67+
68+
In {productname} {release-version}, the **TinyMCE AI** plugin adds an `+ai+` property to the `+BeforeSetContent+` and `+SetContent+` event payloads when it sets content. Event handlers can check this property to detect **TinyMCE AI**-generated content and respond based on its origin.
69+
70+
==== Chat can now update an empty document
71+
// #TINY-14393
72+
73+
Previously, Chat did not update an empty document when generating content. Chat displayed the generated content only in the Chat sidebar, because the AI service could not apply edits when the document had no content.
74+
75+
In {productname} {release-version}, AI Chat can now handle updating an empty document. When the editor is empty, the generated content is now directly inserted into the document rather than only being displayed in the sidebar.
76+
7877
==== Review mode keyboard navigation now matches the Chat sidebar
7978
// #TINY-14275
8079

0 commit comments

Comments
 (0)