EditorAISettingsCommandBuilder

Methods

Text(System.String)

The text of the command.

Parameters

value - System.String

The value for Text

Id(System.String)

The id of the command.

Parameters

value - System.String

The value for Id

Icon(System.String)

The icon of the command.

Parameters

value - System.String

The value for Icon

Prompt(System.String)

The prompt for the command. The function accepts the following arguments: context - The selected text in the editor..

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Prompt(System.Func)

The prompt for the command. The function accepts the following arguments: context - The selected text in the editor..

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.