mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-16 19:57:21 +02: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);
|
menu.show(evt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
root.addEventListener('click', ()=>{
|
root.addEventListener('click', (evt)=>{
|
||||||
|
if (evt.ctrlKey) {
|
||||||
|
this.showEditor();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.message?.length > 0 && this.onExecute) {
|
if (this.message?.length > 0 && this.onExecute) {
|
||||||
this.onExecute(this);
|
this.onExecute(this);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user