Ai.aiPrompt.commands
configurationDefines the commands for the side panel AI Prompt tool. The commands are displayed in the side panel AI Prompt dropdown.
ai.aiPrompt.commands
Arrayai.aiPrompt.commands.icon
String|ObjectThe icon of the command.
Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
ai.aiPrompt.commands.id
StringThe id of the command.
ai.aiPrompt.commands.prompt
FunctionThe prompt for the command. The function accepts the following arguments:
context- The text in the editor.
The text of the command.