API reference: @salmonui/rich-text
BlockEditorPasteEventinterface
import type { BlockEditorPasteEvent } from '@salmonui/rich-text';interface BlockEditorPasteEvent {
readonly html: string;
readonly text: string;
readonly blocks: Block[];
}
onPaste: after pasted content was applied.
| Name | Signature | Description |
|---|---|---|
html | readonly html: string; | |
text | readonly text: string; | |
blocks | readonly blocks: Block[]; | The document after the paste. |