# Why is pasted long text converted to an attachment?

> Cube Agent 2.4.1 Release (Build 2004105) User Guide.
> Category: Chat. Content baseline: 2026-12-05.
> Web page: https://cubeagent.app/en/docs/chat_long_text_paste/

Both native apps and Cube Agent Web automatically convert a single paste of **more than 1,000 characters** into a full text attachment; pastes equal to the threshold remain in the input box. Each paste creates a separate attachment so you can keep typing your question alongside it without auto-sending.

Tap a **Pasted text** attachment to preview it. Before sending, you can undo the conversion or choose **Put back in input box**: if the draft is unchanged, the text returns to its original insertion point; if you have typed new text, the full text is appended so your newer input is preserved. Sent attachments only offer viewing and settings. Previews of very long text show up to the first 100,000 characters, while the saved file and restored text are never truncated.

Tap **Auto-convert settings** in the attachment details, or go to **Settings → General → Input & interaction**, to disable auto-conversion or set the threshold to any integer between 100 and 10,000 (changes apply only to future pastes). On Cube Agent Web, configure this under **Settings → Chat → Long text attachments** — the preference is stored in the current browser and does not sync with native settings.

If saving fails, or if attachment count or upload size limits are reached, the text remains in the input box. Switching conversations or continuing to edit during conversion will not overwrite your new draft. Pasting files and images keeps its existing behavior.
