mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Keep field controls dedicated to using their values, and show each copy control only inside editing between Save and Close. Add a staged checkbox editor and focused static and browser regression coverage. Thanks to xet7 !
19 lines
476 B
Plaintext
19 lines
476 B
Plaintext
template(name="editor")
|
|
a.fa.fa-brands.fa-markdown(title="{{_ 'convert-to-markdown'}}")
|
|
unless hideCopy
|
|
a.fa.fa-copy(title="{{_ 'copy-text-to-clipboard'}}")
|
|
span.copied-tooltip {{_ 'copied'}}
|
|
textarea.editor(
|
|
dir="auto"
|
|
class="{{class}}"
|
|
id=id
|
|
autofocus=autofocus
|
|
placeholder="{{_ 'comment-placeholder'}}")
|
|
+Template.contentBlock
|
|
|
|
template(name="viewer")
|
|
.viewer(dir="auto")
|
|
+mentions
|
|
+markdown
|
|
{{> UI.contentBlock }}
|