Skip to content

[Bug]: mac platform option+command+c can't make text to code block #14755

@zhangler1

Description

@zhangler1

What happened?

On mac platform ,option+command+c can't make text to code block ,nothing happen
ai code agent tell me a simple solution :
keymap.ts line 96 :
const isAltInputChar = event.altKey && !event.ctrlKey && !isSingleAscii;
=》
const isAltInputChar = event.altKey && !event.ctrlKey && !event.metaKey && !isSingleAscii;

Distribution version

macOS x64 (Intel)

App Version

0.26.3

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • Yes

Self-hosting Version

No response

Relevant log output

Anything else?

No response

Is your content generated by AI?

  • I confirm that the content I submitted was not generated by AI / merely contained minimal AI edits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 *Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions