From ebb6b2827d0496303852f524a551592295dd0040 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 13 Nov 2016 22:51:59 -0500 Subject: Replace SimpleMDE with custom Markdown editor --- app/Template/comment/edit.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'app/Template/comment/edit.php') diff --git a/app/Template/comment/edit.php b/app/Template/comment/edit.php index f69fc0c1..f295c8a7 100644 --- a/app/Template/comment/edit.php +++ b/app/Template/comment/edit.php @@ -3,21 +3,12 @@
- form->csrf() ?> form->hidden('id', $values) ?> form->hidden('task_id', $values) ?> form->hidden('user_id', $values) ?> -
- form->textarea( - 'comment', - $values, - $errors, - array('autofocus', 'required', 'placeholder="'.t('Leave a comment').'"'), - 'markdown-editor' - ) ?> -
+ form->textEditor('comment', $values, $errors, array('autofocus' => true, 'required' => true)) ?>
-- cgit v1.2.3