# RichTextCommandEvent (@salmonui/rich-text)

> The RichTextCommandEvent interface of @salmonui/rich-text.

Canonical: https://salmonui.dev/docs/reference/rich-text/RichTextCommandEvent

```ts
import type { RichTextCommandEvent } from '@salmonui/rich-text';
```

Entry index: https://salmonui.dev/docs/reference/rich-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/rich-text.md).

## Reference

Kind: interface

```ts
interface RichTextCommandEvent {
    readonly command: string;
    readonly args: readonly unknown[];
    readonly applied: boolean;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `command` | `readonly command: string;` |  |  |
| `args` | `readonly args: readonly unknown[];` |  |  |
| `applied` | `readonly applied: boolean;` |  |  |
