You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/tinymceai-actions-plugin.adoc
+25-18Lines changed: 25 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ To learn more about toolbar configuration, refer to the xref:toolbar-configurati
37
37
38
38
image::https://placehold.net/default.png[TinyMCE AI Quick Actions dropdown in the toolbar]
39
39
40
-
Finally, individual Quick Actions can also be added to the toolbar as shortcuts for even easier access. For example, add the `ask-ai` image:https://placehold.net/default.png[Ask AI icon,24px] button, or the `improve-writing` image:https://placehold.net/default.png[Improve Writing icon,24px] button (find it in the demo above). Whole categories can be added to the toolbar, too. xref:tinymceai-actions-plugin.adoc#default-actions[Learn more about available actions].
40
+
Finally, individual Quick Actions can also be added to the toolbar as shortcuts for even easier access. For example, add the `tinymceai-improve-writing` image:https://placehold.net/default.png[Improve Writing icon,24px] button, or the `tinymceai-explain` image:https://placehold.net/default.png[Explain icon,24px] button (find it in the demo above). Whole categories can be added to the toolbar, too. xref:tinymceai-actions-plugin.adoc#default-actions[Learn more about available actions].
41
41
42
42
The final example configuration looks as follows:
43
43
@@ -51,23 +51,31 @@ tinymce.init({
51
51
},
52
52
53
53
// Adding Quick Actions to the main editor toolbar.
There are two types of actions available in the quick actions feature:
78
86
79
-
* Chat actions, such as "Explain" or "Summarize", open the xref:tinymceai-chat.adoc[Chat] interface with the selected text added as context and automatically start the conversation with a pre-filled prompt. Actions like "Ask AI" open the Chat interface and allow users to start typing their message.
87
+
* Chat actions, such as "Explain" or "Summarize", open the xref:tinymceai-chat.adoc[Chat] interface with the selected text added as context and automatically start the conversation with a pre-filled prompt.
80
88
81
89
* Preview actions, such as "Continue writing", "Make shorter", "Improve writing", or "Fix grammar", display the AI response in a preview interface where users can review and accept or reject the suggested changes.
82
90
@@ -91,7 +99,6 @@ Keep in mind that xref:tinymceai-actions-plugin.adoc#custom-actions[custom actio
0 commit comments