mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
This attempts to use a global copy event listener instead of triggering the copy handler on Ctrl+C, as this is more robust way to use browser APIs, including not intefering if end users choose to remap copying keys on their keyboard. This has various beneficial side effects, including copying from other Markdown elements like the preview or drafts UI using the same code as copying from the message feed. Fixes: #33949.
7.0 KiB
7.0 KiB