mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-14 02:16:14 +01:00
add ctrl-click to edit QR
This commit is contained in:
parent
5cd911db6b
commit
aed38e32bd
@ -79,7 +79,11 @@ export class QuickReply {
|
||||
menu.show(evt);
|
||||
}
|
||||
});
|
||||
root.addEventListener('click', ()=>{
|
||||
root.addEventListener('click', (evt)=>{
|
||||
if (evt.ctrlKey) {
|
||||
this.showEditor();
|
||||
return;
|
||||
}
|
||||
if (this.message?.length > 0 && this.onExecute) {
|
||||
this.onExecute(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user