Chinese text editing issues in Markdown edit mode in the Agent window

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When editing Markdown files in the Agent window, Chinese text does not work well.

In quoted text, some Chinese punctuation is shown with boxes around it. This does not happen every time, so I’m not sure what the boxes mean.

Also, typing and deleting Chinese text can break the text. Sometimes, when I press Backspace once, it deletes several characters. It can also change the paragraph structure or formatting.

I did not turn on Tab completion.

Steps to Reproduce

  1. Open a Markdown file in the Agent window.
  2. Type some Chinese text, including Chinese punctuation.
  3. Put some Chinese text inside quoted text.
  4. Try typing and deleting Chinese text.
  5. Press Backspace once and check what happens.

Expected Behavior

Markdown edit mode should keep my text as-is.

Chinese punctuation should not be marked with unclear boxes, and pressing Backspace once should only delete one character.

What I type should stay the same. I don’t mind how it looks in preview mode.

Operating System

MacOS

Version Information

Version: 3.3.30
VSCode Version: 1.105.1
Commit: 3dc559280adc5f931ade8e25c7b85393842acf30
Date: 2026-05-09T18:28:42.332Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.2.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Thanks for the detailed report.

A couple of things that would help us investigate further:

  1. The “boxes” around punctuation — could you share a screenshot showing what these look like? That will help us determine whether it’s a font rendering issue or a character encoding problem.

  2. The multi-character backspace deletion — does this happen specifically while the IME composition is still active (i.e., while you’re still selecting a character), or after you’ve already committed/confirmed the character?

In the meantime, a few workarounds:

  • Switch to source/code editing mode for the markdown file instead of the rich-text editor in the Agent window. You can open the file normally in the main editor (not through the Agent window) to edit it as plain text, which avoids the rich-text editor entirely.

  • Use the standard editor tab — right-click the file and choose “Open in Editor” (or just open it from the file explorer) to bypass the Agent window’s markdown preview/edit mode.

  • Disable the Glass layout temporarily — if these issues are blocking, you can switch back to the classic layout via Cursor Settings > General > Layout, which uses the standard VS Code text editor for markdown files.

Let us know if any of those help, and if you can share the screenshot and clarify the backspace timing, that’ll help us narrow this down.