ASPxClientCommandConsts.PASTEHTMLPLAINTEXT_COMMAND Property
In This Article
Identifies a command that pastes the content of the clipboard to the current cursor position, taking into account that the ASPxHtmlEditorHtmlEditingSettings.PasteMode property is set to PlainText.
#Declaration
TypeScript
static PASTEHTMLPLAINTEXT_COMMAND: string
#Property Value
Type | Description |
---|---|
string | Value: “pastehtmlplaintext” |
#Remarks
The PASTEHTMLPLAINTEXT_COMMAND property can be used in the following ways.
- In the ASPxClientHtmlEditor.CommandExecuted event — to determine the action performed by an end-user. If the ASPxClientHtmlEditorCommandEventArgs.commandName event parameter returns the PASTEHTMLPLAINTEXT_COMMAND property value, this means that either the Ctrl+V combination was used by an end-user (and the ASPxHtmlEditorHtmlEditingSettings.PasteMode property is set to PlainText), or the Keep Plain Text item was clicked in the paste options bar.
- In the ASPxClientHtmlEditor.ExecuteCommand method — to execute the command manually.
Note
This command is available only in the Design View.
See Also