# PasteCleanupMode (@salmonui/rich-text)

> The PasteCleanupMode type of @salmonui/rich-text: How pasted HTML is treated. 'prompt' asks the user each time (see pasteNeedsPrompt).

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

```ts
import type { PasteCleanupMode } 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: type

```ts
type PasteCleanupMode = 'keep' | 'clean' | 'plainText' | 'prompt';
```

How pasted HTML is treated. `'prompt'` asks the user each time (see pasteNeedsPrompt).
