Skip to content

Commit 7c3429d

Browse files
HtmlEditor: Add Missing AI Links & Mentions (#8634) (#8643)
1 parent dce220f commit 7c3429d

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

api-reference/10 UI Components/dxHtmlEditor/1 Configuration/aiIntegration.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ default: undefined
55
---
66
---
77
##### shortDescription
8-
Binds the AI service to the HTML Editor.
8+
Binds AI service to the HTML Editor.
99

1010
---
1111
To activate AI functionality in HTML Editor, specify:
1212

13-
- [AIIntegration](/api-reference/40%20Common%20Types/AIIntegration '/Documentation/ApiReference/Common_Types/AIIntegration/') class
14-
- *'ai'* [toolbar](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/toolbar '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/toolbar/') item
13+
1. The [AIIntegration](/api-reference/40%20Common%20Types/AIIntegration '/Documentation/ApiReference/Common_Types/AIIntegration/') class
14+
2. The *'ai'* [toolbar](/api-reference/10%20UI%20Components/dxHtmlEditor/1%20Configuration/toolbar '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/toolbar/') item
1515

1616
---
1717
##### jQuery
@@ -124,4 +124,8 @@ To activate AI functionality in HTML Editor, specify:
124124
);
125125
}
126126

127-
---
127+
---
128+
129+
#include btn-open-demo with {
130+
href: "https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/AITextEditing/"
131+
}

concepts/05 UI Components/HtmlEditor/20 Toolbar/00 Predefined Items/00 Predefined Items.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
Toolbar items allow users to format the HTML Editor's content and perform actions on it.
1+
Toolbar items allow users to format HTML Editor content and perform actions in it.
22

33
Predefined toolbar items include:
44

5-
* Buttons that apply single-choice formats to the text.
6-
* Action buttons.
7-
* Select boxes that apply multiple-choice formats.
8-
* Separators that are not user-interactive and only divide other elements.
5+
* Buttons that apply single-choice formats to the text
6+
* Action buttons
7+
* Select boxes that apply multiple-choice formats
8+
* Separators that are not user-interactive and only divide other elements
99

1010
![DevExtreme HTML5 JavaScript HTML Editor Toolbar](/images/htmlEditor/visual_elements/toolbar.png)
1111

@@ -212,7 +212,14 @@ The following table lists toolbar items and the formats they apply (if applicabl
212212
<td>-</td>
213213
<td>-</td>
214214
</tr>
215+
<tr>
216+
<td>"ai"</td>
217+
<td>-</td>
218+
<td>-</td>
219+
</tr>
215220
</table>
221+
222+
[note] Configure [aiIntegration](/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/#aiIntegration) to use the *"ai"* item.
216223

217224
To add a button to the toolbar, add its [name](/concepts/05%20UI%20Components/HtmlEditor/20%20Toolbar/00%20Predefined%20Items '/Documentation/Guide/UI_Components/HtmlEditor/Toolbar/Predefined_Items/') to the [items](/api-reference/_hidden/dxHtmlEditorToolbar/items '/Documentation/ApiReference/UI_Components/dxHtmlEditor/Configuration/toolbar/items/') array:
218225

concepts/05 UI Components/HtmlEditor/Demos.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
- [Overview](https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/Overview/)
44
- [Mentions](https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/Mentions/)
55
- [Tables](https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/Tables/)
6+
- [AI-powered Text Editing](https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/AITextEditing/)
67
- [Markdown Support](https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/MarkdownSupport/)
78
- [Toolbar Customization](https://js.devexpress.com/Demos/WidgetsGallery/Demo/HtmlEditor/ToolbarCustomization/)

0 commit comments

Comments
 (0)