Use proper modifier key in markdown text input on macOS (#1995)
authorHamzah Mansour <HamzahMansour@users.noreply.github.com>
Fri, 28 Jul 2023 19:25:02 +0000 (12:25 -0700)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2023 19:25:02 +0000 (15:25 -0400)
commit908b7c5bb121add77b1ab9cf6fccc764053c2ea5
treee093f86c670226e214294773bd1099b521d75c40
parent88f89cb9530cfaea0b82c8a86248d7d40a9f081d
Use proper modifier key in markdown text input on macOS (#1995)

* add os detect util, use meta key on macos

* pr feedback
src/shared/components/common/markdown-textarea.tsx
src/shared/utils/browser/index.ts
src/shared/utils/browser/platform.ts [new file with mode: 0644]