SillyTavern/public/css
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
..
accounts.css Admin change password flow 2024-04-10 00:01:03 +03:00
animations.css Fit/fix flash duration animation to length 2024-07-10 19:43:58 +02:00
brands.min.css Update FontAwesome 2024-04-27 23:25:35 +03:00
bright.min.css Initial commit 2023-07-20 20:32:15 +03:00
character-group-overlay.css Adjust css to fit new buttons 2024-08-15 16:37:02 +02:00
cropper.min.css Initial commit 2023-07-20 20:32:15 +03:00
extensions-panel.css Allow "none" position for extension prompt injects 2024-07-28 00:26:44 +03:00
file-form.css Add ability to attach files and images to messages 2023-11-18 19:24:55 +02:00
fontawesome.min.css Update FontAwesome 2024-04-27 23:25:35 +03:00
group-avatars.css WIP splitting of style.css 5.6k --> 3.5k lines 2023-08-20 15:49:27 +09:00
jquery-ui.min.css Initial commit 2023-07-20 20:32:15 +03:00
loader.css Switch to dynamic viewport units 2024-07-15 00:42:16 +03:00
login.css Customizable avatars for users 2024-04-13 17:52:37 +03:00
logprobs.css Switch to dynamic viewport units 2024-07-15 00:42:16 +03:00
mobile-styles.css 3-column panels become 1-column below 1000px width 2024-09-04 09:00:56 +09:00
popup-safari-fix.css Switch to dynamic viewport units 2024-07-15 00:42:16 +03:00
popup.css Switch to dynamic viewport units 2024-07-15 00:42:16 +03:00
promptmanager.css Restyle PM buttons 2024-07-04 19:59:39 +03:00
rm-groups.css Replace border with outline 2024-07-04 20:20:10 +03:00
select2-overrides.css Add Tabby model selection 2024-09-08 22:23:25 +03:00
select2.min.css Initial commit 2023-07-20 20:32:15 +03:00
solid.min.css Update FontAwesome 2024-04-27 23:25:35 +03:00
st-tailwind.css Disabled cursor behaves weirdly 2024-09-05 20:22:36 +03:00
tags.css Tag as folder selector more specific 2024-07-28 20:27:13 +02:00
toastr.min.css Initial commit 2023-07-20 20:32:15 +03:00
toggle-dependent.css Markdown hotkeys for textareas (#2800) 2024-09-14 14:16:26 +03:00
world-info.css add color to toggle on state 2024-08-10 13:12:46 +09:00