summaryrefslogtreecommitdiff
path: root/app/Helper
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-15 21:05:15 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-15 21:05:15 -0400
commit6cfce7720a88f383f85f9f7ea88a5dcdae87daa7 (patch)
tree10a31b1e0460d0b89cad69e44d969dec233586ff /app/Helper
parent5969eb8e3030c822333872f24daa23b9eac1f4f7 (diff)
Fixed Markdown editor auto-grow on the task form
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/TaskHelper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Helper/TaskHelper.php b/app/Helper/TaskHelper.php
index e1d65cca..481a5efb 100644
--- a/app/Helper/TaskHelper.php
+++ b/app/Helper/TaskHelper.php
@@ -50,6 +50,7 @@ class TaskHelper extends Base
public function selectDescription(array $values, array $errors)
{
$html = $this->helper->form->label(t('Description'), 'description');
+ $html .= '<div class="markdown-editor-container">';
$html .= $this->helper->form->textarea(
'description',
$values,
@@ -62,6 +63,7 @@ class TaskHelper extends Base
'markdown-editor'
);
+ $html .= '</div>';
return $html;
}