mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fix edit description to require only one click.
Thanks to uusijani and xet7 ! Fixes #3338
This commit is contained in:
parent
6cbb77b591
commit
0ef248574c
3 changed files with 3 additions and 1 deletions
|
|
@ -3,5 +3,5 @@ template(name="descriptionForm")
|
|||
.new-description.js-new-description(
|
||||
class="{{#if descriptionFormIsOpen}}is-open{{/if}}")
|
||||
form.js-new-description-form
|
||||
+editor(class="js-new-description-input" data-meteor-emoji-large="true")
|
||||
+editor(class="js-new-description-input" data-meteor-emoji-large="true" autofocus="autofocus")
|
||||
| {{getUnsavedValue 'cardDescription' _id getDescription}}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ template(name="editor")
|
|||
dir="auto"
|
||||
class="{{class}}"
|
||||
id=id
|
||||
autofocus=autofocus
|
||||
placeholder="{{_ 'comment-placeholder'}}")
|
||||
+Template.contentBlock
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue