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-04-13 17:52:37 +03:00
2024-04-11 00:40:01 +03:00
2024-07-25 01:33:00 +08:00
2024-08-26 01:39:56 +07:00
2024-04-10 01:29:35 +03:00
2024-06-12 16:30:32 +07:00
2024-06-12 16:30:32 +07:00
2024-06-03 21:52:46 +02:00
2024-08-26 01:39:56 +07:00
2024-07-04 19:59:39 +03:00
2024-05-24 22:04:00 +03:00
2024-08-26 01:39:56 +07:00
2024-05-21 01:16:20 +07:00
2024-05-21 01:16:20 +07:00
2024-04-13 00:11:20 +03:00
2024-06-24 23:51:18 +03:00
2024-07-28 10:21:18 +08:00
2024-09-04 21:14:55 +03:00