From b535baf69b9a2525bc8a33b9c96460b84af8e6e2 Mon Sep 17 00:00:00 2001
From: winter
Date: Sat, 22 Mar 2025 17:19:30 +0000
Subject: ctrl+enter to send note
---
templates/note/write_form.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'templates/note/write_form.php')
diff --git a/templates/note/write_form.php b/templates/note/write_form.php
index f7b7cb9..647dcac 100644
--- a/templates/note/write_form.php
+++ b/templates/note/write_form.php
@@ -23,7 +23,8 @@
+ placeholder="= __('writeNote.placeholder') ?>"
+ _="on keydown[ctrlKey and key is 'Enter'] set b to #writeNoteSubmitButton then b.click()">
--
cgit v1.3