mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Added markdown support to card-titles, minicard-titles, checklist title, and checklist items
This commit is contained in:
parent
ba3c3f8289
commit
309c1d08ff
5 changed files with 21 additions and 10 deletions
|
|
@ -147,7 +147,7 @@ BlazeComponent.extendComponent({
|
|||
|
||||
pressKey(event) {
|
||||
//If user press enter key inside a form, submit it, so user doesn't have to leave keyboard to submit a form.
|
||||
if (event.keyCode === 13) {
|
||||
if (event.keyCode === 13 && !event.shiftKey) {
|
||||
event.preventDefault();
|
||||
const $form = $(event.currentTarget).closest('form');
|
||||
$form.find('button[type=submit]').click();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue