Skip to content

feat(editor): support Chinese slash-menu trigger - #589

Merged
murongg merged 1 commit into
v2from
feature/chinese-slash-menu
Jul 26, 2026
Merged

feat(editor): support Chinese slash-menu trigger#589
murongg merged 1 commit into
v2from
feature/chinese-slash-menu

Conversation

@murongg

@murongg murongg commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • allow the slash-command menu to use the Chinese dunhao () as a trigger in addition to /
  • cover trigger detection and command execution with a regression test

Why

Chinese input methods can produce for the slash key. Supporting both characters keeps slash commands accessible without switching input modes.

Validation

  • pnpm --filter @markra/editor test — 350 tests passed
  • pnpm --filter @markra/editor build — passed

Risk

Low. The change is limited to typed slash-menu trigger recognition, and the existing / behavior remains covered.

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
markra-web Ready Ready Preview, Comment Jul 26, 2026 1:09pm

@murongg
murongg merged commit f40a6b9 into v2 Jul 26, 2026
21 checks passed
@murongg
murongg deleted the feature/chinese-slash-menu branch July 26, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant