Replace SimpleMDE with custom Markdown editor

This commit is contained in:
Frederic Guillot
2016-11-13 22:51:59 -05:00
parent 527a1677a0
commit ebb6b2827d
22 changed files with 1057 additions and 498 deletions

View File

@@ -11,7 +11,7 @@
<?= $this->form->csrf() ?>
<?= $this->form->hidden('id', $values) ?>
<?= $this->form->hidden('name', $values) ?>
<?= $this->form->textarea('description', $values, $errors, array(), 'markdown-editor') ?>
<?= $this->form->textEditor('description', $values, $errors, array('autofocus' => true)) ?>
<div class="form-actions">
<button type="submit" class="btn btn-blue"><?= t('Save') ?></button>