# pasteNeedsPrompt (@salmonui/rich-text)

> The pasteNeedsPrompt function of @salmonui/rich-text: Whether mode: 'prompt' needs to ask for this paste (formatted HTML; plain text never asks).

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

```ts
import { pasteNeedsPrompt } 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: function

```ts
function pasteNeedsPrompt(html: string, options?: Pick<PasteCleanupOptions, 'mode'>): boolean;
```

Whether `mode: 'prompt'` needs to ask for this paste (formatted HTML; plain text never asks).
