Feature: Copy Card Details code block to clipboard.

Thanks to C0rn3j and xet7 !

Fixes #5149
This commit is contained in:
Lauri Ojansivu 2023-10-03 09:35:18 -04:00
parent 7724b0d5bb
commit 0cc63b810c
4 changed files with 48 additions and 6 deletions

View file

@ -196,6 +196,9 @@
margin-right: 10px;
padding: 10px;
}
.card-details .card-description i.fa.fa-pencil-square-o {
float: right;
}
.card-details .card-description textarea {
min-height: 100px;
}

View file

@ -524,12 +524,13 @@ template(name="cardDetails")
a.fa.fa-times-thin.js-close-inlined-form
else
if currentBoard.allowsDescriptionText
a.js-open-inlined-form
if getDescription
+viewer
= getDescription
else
| {{_ 'edit'}}
a.js-open-inlined-form.right(title="{{_ 'edit'}}" value=title)
i.fa.fa-pencil-square-o
if getDescription
+viewer
= getDescription
else
| {{_ 'edit'}}
if (hasUnsavedValue 'cardDescription' _id)
p.quiet
| {{_ 'unsaved-description'}}