{"version":"2.1.271","anchor":"pasted-content-now-actually-reaches-the-draft-in-the-compact","canonical_anchor":"pasted-content-now-actually-reaches-the-draft-in-the-compact","heading":"Pasted content now actually reaches the draft in the compact\/queued submit path","tier":"notice","area":"Prompt Input","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/pasted-content-now-actually-reaches-the-draft-in-the-compact","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### Pasted content now actually reaches the draft in the compact\/queued submit path\n\nPasted content is now correctly restored when resubmitting a queued or handed-back prompt\n\n**What**\n\nWhen a prompt that was queued or handed back (such as during a compact operation) gets resubmitted, Claude Code restores its draft state, including anything that was pasted into it. Previously, the function responsible for restoring pasted content, `setPastedContents`, did nothing; it now actually writes the pasted content back into the draft.\n\n**Why**\n\nBefore this fix, pasted content (like a block of text or code pasted into the prompt) could be silently lost when a prompt was queued or handed back and then resubmitted. Now it is preserved correctly.\n\n- Area: Prompt Input\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}