SillyTavern/public/scripts/templates
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
..
admin.html Customizable avatars for users 2024-04-13 17:52:37 +03:00
assistantNote.html Chat without character selected (#2757) 2024-09-03 20:36:30 +03:00
changeName.html Implement change display name 2024-04-11 00:40:01 +03:00
changePassword.html Make Reset account functional 2024-04-13 00:11:20 +03:00
charTagImport.html Update tag import popup to new input 2024-06-27 02:52:34 +02:00
charTagImport.i18n.html fixes 2024-07-25 01:33:00 +08:00
chatRename.html Work on tl 2024-08-26 01:39:56 +07:00
createCheckpoint.html Remove unnecessary double popup for replace 2024-09-10 21:19:35 +02:00
customEndpointAdditionalParameters.html More localizable text 2024-06-12 16:30:32 +07:00
debug.html Allow vertical scrolling in new popups 2024-06-26 00:35:21 +03:00
deleteUser.html
duplicateConfirm.html Update dupe character to use new popup 2024-06-25 21:34:08 +03:00
forbidMedia.html Update forbid media and field extend to new popup 2024-06-25 21:24:03 +03:00
formatting.html More localizable text 2024-06-12 16:30:32 +07:00
help.html More localizable text 2024-06-12 16:30:32 +07:00
hotkeys.html Markdown hotkeys for textareas (#2800) 2024-09-14 14:16:26 +03:00
importCharacters.html Tweaking popup help text 2024-06-03 21:52:46 +02:00
installExtension.html Refactor extension install menu 2024-08-13 01:09:14 +03:00
itemizationChat.html Display API and model used in itemization 2024-09-09 00:26:06 +03:00
itemizationText.html Display API and model used in itemization 2024-09-09 00:26:06 +03:00
macros.html Add user first and last prefixes for instruct 2024-07-26 23:10:09 +03:00
newChatConfirm.html Work on tl 2024-08-26 01:39:56 +07:00
promptManagerExportForCharacter.html Fix for character export HTML 2024-05-24 22:11:36 +03:00
promptManagerExportPopup.html Fix for character export HTML 2024-05-24 22:11:36 +03:00
promptManagerFooter.html Restyle PM buttons 2024-07-04 19:59:39 +03:00
promptManagerHeader.html Fix HTML error 2024-05-24 22:04:00 +03:00
promptManagerListHeader.html Fix for character export HTML 2024-05-24 22:11:36 +03:00
proxyConnectionWarning.html Work on tl 2024-08-26 01:39:56 +07:00
resetSettings.html Ask for password before resetting settings 2024-04-10 22:34:51 +03:00
scenarioOverride.html Update char submenu popups to new popup 2024-07-14 03:58:27 +02:00
snapshotsView.html Translated a bit more 2024-05-21 01:16:20 +07:00
tabbyDownloader.html fix of empty `data-i18n` keys 2024-07-28 10:21:18 +08:00
themeDelete.html Update theme delete confirm to new popup 2024-06-26 00:15:16 +03:00
themeImportWarning.html Update theme import warning to new popup 2024-06-26 00:18:44 +03:00
userProfile.html Translated a bit more 2024-05-21 01:16:20 +07:00
userReset.html Make Reset account functional 2024-04-13 00:11:20 +03:00
wandButton.html Move built-in extensions to fixed wand containers 2024-06-24 23:17:58 +03:00
wandMenu.html Somewhat restore old wand order 2024-06-24 23:51:18 +03:00
welcome.html fix of empty `data-i18n` keys 2024-07-28 10:21:18 +08:00
welcomePrompt.html Change no-char hint text 2024-09-04 21:14:55 +03:00
worldInfoKeywordHeaders.html re-divorce entry active state from trigger strategy 2024-08-10 12:48:47 +09:00