Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The editor tab for preview mode markdown files ignores the “Editor Read-only in Session” setting.
Turning on read-only mode should prevent you from accidentally editing files you are just trying to observe while the AI edits them, but it does not. Mostly an issue with *.plan.md files for me.
Steps to Reproduce
- Open a markdown file in preview mode.
- Notice that you can edit the file
- via Ctrl+Shift+p toggle “File: Toggle Active Editor Read-only in Session”
- Notice that no lock icon appeared on the tab and you can still edit the file
- Switch to markdown view
- Notice there is a lock in the tab header and you cannot edit the file via this tab
Expected Behavior
step 4 should be the same as step 6.
Screenshots / Screen Recordings
Operating System
Linux
Version Information
Version: 2.5.22
VSCode Version: 1.105.1
Commit: 0eda506a36f70f8dc866c1ea642fcaf620090080
Date: 2026-02-23T00:15:21.265Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Linux x64 6.17.0-20-generic
Additional Information
In VSCodium, the preview mode is not editable at all, hence my assumption that this is a bug on the Cursor sode of the fork.
Does this stop you from using Cursor
No - Cursor works, but with this issue
