# MarkdownValueChangeEvent (@salmonui/editors/markdown-editor)

> The MarkdownValueChangeEvent interface of @salmonui/editors/markdown-editor: Second argument of onValueChange (frozen).

Canonical: https://salmonui.dev/docs/reference/editors/markdown-editor/MarkdownValueChangeEvent

```ts
import type { MarkdownValueChangeEvent } from '@salmonui/editors/markdown-editor';
```

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

## Reference

Kind: interface

```ts
interface MarkdownValueChangeEvent {
    readonly source: MarkdownEditorSource;
    readonly reason: 'input' | 'command' | 'reset';
}
```

Second argument of `onValueChange` (frozen).

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: MarkdownEditorSource;` |  |  |
| `reason` | `readonly reason: 'input' \| 'command' \| 'reset';` |  |  |
