RossAscends b376ea884b
Markdown hotkeys for textareas (#2800)
* initial commit

* dont hijack all ctrl keybinds

* change strikethrough bind, convert to subscribable class, target key textareas

* better early return, hotkey reversiblility

* possible undo solution, key checks to switch

* execCommand alternate, perfect Undo

* format full word when caret is in the middle of a word

* double backticks do nothing, dummy.

* ctrl+K for ....'K'ode snippet...

* remove console logs

* Add new hotkeys to help

* Allow hotkeys in message edit textarea

* add markdown hotkey help text

* help text addition to mention hotkeys work in message edits

* add markdown hotkeys to WI entry content box

* disengage if alt/win pressed, universal prevent default

* disengage if shiftKey pressed

* re-allow shift for one special case

* add MD hotkeys toggle in user settings

* add markdown enabled icon on relevant textareas when appropriate

* Add icon to help

* Uniform formatting

* Add opacity to icon

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-09-14 14:16:26 +03:00
..
2024-09-13 21:51:05 +03:00
2024-09-13 21:35:42 +03:00
2023-12-10 20:02:25 +02:00
2024-07-04 20:14:50 +03:00
2024-09-04 03:16:47 +03:00
2024-06-13 23:55:28 +02:00
2023-12-02 21:56:16 +02:00
2023-12-22 22:10:09 +02:00
2024-04-02 14:56:15 +03:00
2024-06-18 11:32:50 +03:00
2024-07-04 01:41:21 +03:00
2023-12-18 17:32:10 +02:00
2024-07-15 01:18:54 +03:00
2024-07-14 14:07:23 +03:00
2024-09-13 21:03:04 +03:00
2024-09-08 22:23:25 +03:00
2024-07-21 14:29:13 +03:00
2024-06-23 15:57:07 +03:00
2024-08-13 20:29:33 +03:00
2023-12-02 13:04:51 -05:00
2023-12-02 13:04:51 -05:00
2023-12-02 22:06:57 +02:00
2024-09-13 11:22:12 +00:00
2024-09-01 11:35:09 +03:00
2024-03-03 19:36:40 +02:00
2024-04-11 22:36:23 +03:00
2024-09-08 22:23:25 +03:00
2024-09-07 21:19:33 +03:00
2024-09-01 23:07:49 +03:00
2024-09-13 10:52:35 +03:00