summaryrefslogtreecommitdiffstats
path: root/client/components/main/editor.jade
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/editor.jade
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/editor.jade')
-rw-r--r--client/components/main/editor.jade7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/components/main/editor.jade b/client/components/main/editor.jade
new file mode 100644
index 00000000..cb01cdc1
--- /dev/null
+++ b/client/components/main/editor.jade
@@ -0,0 +1,7 @@
+template(name="editor")
+ textarea.editor(
+ class="{{class}}"
+ id=id
+ autofocus=autofocus
+ placeholder="{{_ 'comment-placeholder'}}")
+ +Template.contentBlock