# PasteSource (@salmonui/rich-text)

> The PasteSource type of @salmonui/rich-text: Where pasted HTML comes from, as detectPasteSource sees it.

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

```ts
import type { PasteSource } 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 PasteSource = 'word' | 'googleDocs' | 'html';
```

Where pasted HTML comes from, as detectPasteSource sees it.
