mirror of
https://github.com/VibedByKaKi/forgejo-11-secure.git
synced 2026-10-16 07:18:06 +02:00
**Manual Backport:** https://codeberg.org/forgejo/forgejo/pulls/8170 The line continuation code in the Markdown editor ignored Enter presses if Ctrl, Alt or Shift were being held. This now also accounts for Cmd on macOS (which browsers represent as metaKey). ### Tests - Use Safari (on macOS) - create a new issue in a repository - start writing a list (with - one[enter]- two) - now press Cmd+Enter - verify that while the form is being submitted, no new line got visually added (cherry picked from commit 39e6785da00ddd3f1f01f846aab8bf0a5c31f96b) Co-authored-by: Danko Aleksejevs <danko@very.lv> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8262 Reviewed-by: Danko Aleksejevs <danko@very.lv> |
||
|---|---|---|
| .. | ||
| ComboMarkdownEditor.js | ||
| ConfirmModal.js | ||
| EasyMDEToolbarActions.js | ||
| LabelEdit.js | ||
| Paste.js | ||
| QuickSubmit.js | ||
| ReactionSelector.js | ||
| SearchUserBox.js | ||
| TextExpander.js | ||
| WebHookEditor.js | ||