We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc17443 commit 6864d32Copy full SHA for 6864d32
1 file changed
src/resources/chatPanelScript.js
@@ -39,6 +39,10 @@ function setupEditButtons() {
39
e.preventDefault(); // 防止换行
40
editSend.click(); // 触发发送按钮的点击事件
41
}
42
+ else if (e.key === 'Escape') {
43
+ e.preventDefault();
44
+ editCancel.click();
45
+ }
46
});
47
};
48
0 commit comments