lemmy-ui/src/shared
Jeff Sandberg 17bcfe5257
Add metaKey to markdown-textarea, for macos
On MacOS, Ctrl is less commonly used than Command (⌘).
Javascript expresses command as `metaKey`.

This allows for _either_ Ctrl or Command to be used in the Markdown text
area.

Note that on Windows, on some browsers, the "windows" key is labeled as meta, so it would
work on windows as well.

http://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/metaKey
2023-07-02 04:11:09 -06:00
..
components Add metaKey to markdown-textarea, for macos 2023-07-02 04:11:09 -06:00
services Fix jwt cookie path 2023-07-02 02:04:44 +03:00
utils Add fallback date-fns locale import 2023-07-01 18:57:19 +03:00
config.ts Use git hash to break cache (#1684) 2023-06-29 10:29:33 -04:00
interfaces.ts fix: Specify vote content type so buttons work for both comments and posts 2023-06-23 12:14:49 -04:00
markdown.ts Cleanup, only check for /u/ if /c/ and /m/ checks fail 2023-06-22 16:05:20 -03:00
routes.ts Move password reset form to separate route, view (#1390) 2023-06-26 20:12:41 -04:00
tippy.ts utils.ts organization, round two (#1427) 2023-06-21 18:28:24 -04:00
toast.ts Fix I18 next circular reference 2023-06-21 20:54:35 -04:00
version.ts Use node env instead of version for environment specific logic 2023-05-14 16:25:03 -04:00