# BlockEditorPasteEvent (@salmonui/rich-text)

> The BlockEditorPasteEvent interface of @salmonui/rich-text: onPaste: after pasted content was applied.

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

```ts
import type { BlockEditorPasteEvent } 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 BlockEditorPasteEvent {
    readonly html: string;
    readonly text: string;
    readonly blocks: Block[];
}
```

`onPaste`: after pasted content was applied.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `html` | `readonly html: string;` |  |  |
| `text` | `readonly text: string;` |  |  |
| `blocks` | `readonly blocks: Block[];` |  | The document after the paste. |
