Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use proper modifier key in markdown text input on macOS #1995

Conversation

HamzahMansour
Copy link
Contributor

@HamzahMansour HamzahMansour commented Jul 28, 2023

Description

On macOS, check for only the metaKey for keyboard shortcuts, since the ctrlKey is used for OS-specific shortcuts for navigating/editing text (like ctrl-b, ctrl-e, ctrl-k). Otherwise, check for the ctrlKey, on other platforms.

Relevant PRs: #1136 #1145 #1750

@HamzahMansour HamzahMansour marked this pull request as ready for review July 28, 2023 03:40
@SleeplessOne1917 SleeplessOne1917 merged commit 908b7c5 into LemmyNet:main Jul 28, 2023
dessalines pushed a commit that referenced this pull request Aug 7, 2023
* add os detect util, use meta key on macos

* pr feedback
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.

2 participants