-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathindex.js
More file actions
18 lines (17 loc) · 762 Bytes
/
index.js
File metadata and controls
18 lines (17 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
var editor = new ej.richtexteditor.RichTextEditor({
toolbarSettings: {
items: ['aicommands', 'aiquery']
},
aiAssistantSettings: {
headerToolbarSettings: ['AIcommands', 'Clear', 'Close'],
promptToolbarSettings: ['Edit'],
responseToolbarSettings: ['Copy', '|', 'Insert'],
prompts: [
{
prompt: 'What is Essential Studio ?',
response: 'Essential Studio is a software toolkit by Syncfusion that offers a variety of UI controls, frameworks, and libraries for developing applications on web, desktop, and mobile platforms. It aims to streamline application development with customizable, pre-built components.'
}
]
}
});
editor.appendTo('#editor');