When trying to copy a piece of the plan written by cursor, I’m unable to copy the text
When moving from Preview to Markdown (I can copy to clipboard when in Markdown view), I see a raw-<id>.md file poping up in a new tab. If I try to save it, I get:
Failed to save 'raw-pxfttdbosg-1761751130452': Unable to write file '/raw-pxfttdbosg-1761751130452' (Unknown (FileSystemError): Error: EROFS: read-only file system, open '/raw-pxfttdbosg-1761751130452')
I’m not sure what is the expected workflow for this but doesn’t seem very intuitive.
Steps to Reproduce
Open cursor
Open Chat sidebar (AI Pane)
Switch to Plan Mode
Ask for a plan
Try to copy the plan text in the preview view.
5.1 Try to paste the copied text, you’ll see nothing was copied.
Go to the Markdown view
6.1 See how a new raw<id>.md file pops up in a new tab
Expected Behavior
I would love to be able to copy from the preview view.
I don’t really expect to need to handle the new md file
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Solution: copy the plan text from the Markdown view (as you are already aware) or save the generated file, and then copy from markdown.
In the AI chat pane, click the plan title (author.plan.md) → preview opens, then switch to the Markdown tab and copy the text.
Or click Save on the plan header, locate the generated prefix-<id>.md file in your project’s .cursor/plans folder, open it, and copy from the Markdown tab.
Ensure the target folder is writable (avoid read‑only locations).
Personally, I do agree that it would be convenient to copy from the preview without having to save the file.
Hey, this is somewhat expected as the Plans created by the Agent are temporary files, and are not stored on your disk by default.
If you want edits to the plan to be changed, we currently only support plan editing by asking the Agent to make changes!
However, in the plan preview in the Agent chat, there is a button that lets you export the plan to your workspace as a markdown file, which you can then edit manually and, if needed, reference it back into your Agent chat: