diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-11-13 22:51:59 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-11-13 22:51:59 -0500 |
commit | ebb6b2827d0496303852f524a551592295dd0040 (patch) | |
tree | a3e6dff7036ba83e436941b0b0e96c89311eb0f8 /app/Template/column | |
parent | 527a1677a0578e479302e1f80b127e177ed915e9 (diff) |
Replace SimpleMDE with custom Markdown editor
Diffstat (limited to 'app/Template/column')
-rw-r--r-- | app/Template/column/create.php | 2 | ||||
-rw-r--r-- | app/Template/column/edit.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/column/create.php b/app/Template/column/create.php index 812e9139..71c94062 100644 --- a/app/Template/column/create.php +++ b/app/Template/column/create.php @@ -16,7 +16,7 @@ <?= $this->form->checkbox('hide_in_dashboard', t('Hide tasks in this column in the dashboard'), 1) ?> <?= $this->form->label(t('Description'), 'description') ?> - <?= $this->form->textarea('description', $values, $errors, array(), 'markdown-editor') ?> + <?= $this->form->textEditor('description', $values, $errors) ?> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> diff --git a/app/Template/column/edit.php b/app/Template/column/edit.php index 89487298..a72a5c84 100644 --- a/app/Template/column/edit.php +++ b/app/Template/column/edit.php @@ -18,7 +18,7 @@ <?= $this->form->checkbox('hide_in_dashboard', t('Hide tasks in this column in the dashboard'), 1, $values['hide_in_dashboard'] == 1) ?> <?= $this->form->label(t('Description'), 'description') ?> - <?= $this->form->textarea('description', $values, $errors, array(), 'markdown-editor') ?> + <?= $this->form->textEditor('description', $values, $errors) ?> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> |