aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note/write_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note/write_form.php')
-rw-r--r--templates/note/write_form.php3
1 files changed, 2 insertions, 1 deletions
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 @@
<input type="text" id="noteSummary" name="summary" autocomplete="off"
placeholder="<?= __('writeNote.summary.label') ?>">
<textarea name="content" id="noteContent" required autocomplete="off"
- placeholder="<?= __('writeNote.placeholder') ?>"></textarea>
+ placeholder="<?= __('writeNote.placeholder') ?>"
+ _="on keydown[ctrlKey and key is 'Enter'] set b to #writeNoteSubmitButton then b.click()"></textarea>
<?php call_template('formatting_hint'); ?>
</div>
<details>