Fixed Markdown editor auto-grow on the task form

This commit is contained in:
Frederic Guillot
2016-07-15 21:05:15 -04:00
parent 5969eb8e30
commit 6cfce7720a
7 changed files with 13 additions and 5 deletions

View File

@@ -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;
}