summaryrefslogtreecommitdiffstats
path: root/client/components/main/templates.html
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-06 10:40:39 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-06 10:42:05 +0200
commita12f094710ed4fc70c1a5a2c59b7834d824989d6 (patch)
treea27fa311a851e2e288afcd871d31a29c2bce992f /client/components/main/templates.html
parent56a240a643ca01c96fb76abc715759ee0f485186 (diff)
downloadwekan-a12f094710ed4fc70c1a5a2c59b7834d824989d6.tar.gz
wekan-a12f094710ed4fc70c1a5a2c59b7834d824989d6.tar.bz2
wekan-a12f094710ed4fc70c1a5a2c59b7834d824989d6.zip
Autosize the rich editor (for card description and comments)
Diffstat (limited to 'client/components/main/templates.html')
-rw-r--r--client/components/main/templates.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/components/main/templates.html b/client/components/main/templates.html
index c252f1e4..876eb13a 100644
--- a/client/components/main/templates.html
+++ b/client/components/main/templates.html
@@ -11,8 +11,7 @@
</div>
</template>
-<template name="editor">
- <textarea class="{{class}}" placeholder="{{_ 'comment-placeholder'}}" id="{{id}}" autofocus="{{autofocus}}">{{> UI.contentBlock}}</textarea>
-</template>
+<!-- XXX This should be moved to editor.jade but there is an issue with jade
+ handling of the markdown component. -->
<template name="viewer">{{#markdown}}{{#emoji}}{{#mentions}}{{> UI.contentBlock }}{{/mentions}}{{/emoji}}{{/markdown}}</template>