mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
On ctrl-enter when editing, focus text input
This commit is contained in:
@ -1027,6 +1027,7 @@ export function initRossMods() {
|
||||
const editMesDone = $('.mes_edit_done:visible');
|
||||
if (editMesDone.length > 0) {
|
||||
console.debug('Accepting edits with Ctrl+Enter');
|
||||
$('#send_textarea').focus();
|
||||
editMesDone.trigger('click');
|
||||
return;
|
||||
} else if (is_send_press == false) {
|
||||
|
Reference in New Issue
Block a user