{"version":"2.1.274","anchor":"draft-restoration-now-preserves-pasted-content-mode-correctl","canonical_anchor":"draft-restoration-now-preserves-pasted-content-mode-correctl","heading":"Draft restoration now preserves pasted-content mode correctly","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/draft-restoration-now-preserves-pasted-content-mode-correctl","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### Draft restoration now preserves pasted-content mode correctly\n\nRestoring a saved draft now correctly preserves pasted content only for prompt-mode drafts\n\n**What**\n\nWhen Claude Code restores a previously saved draft of your input (for example after using summarize or undo), it now checks what kind of draft it is:\n\n- `prompt` drafts are re-parsed so any pasted-content placeholders are correctly restored\n\n- other kinds of drafts, such as bash input, keep their raw text and are treated as having no pasted content\n\n- the function that restores pasted content is only called when there is actually pasted content to restore\n\n**Why**\n\nPreviously, restoring a draft could mishandle pasted content depending on the draft's mode. This fix makes sure pasted text (like a block of code or file contents you pasted in) comes back correctly when you return to a prompt draft, without incorrectly applying pasted-content logic to non-prompt drafts like bash commands.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}