From: Vincent Vanwaelscappel Date: Wed, 17 Jul 2019 13:01:20 +0000 (+0200) Subject: Convert textarea to markdown | wip #2742 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2ad7a09a17067b1f6306e9ea41a25cf0caa7764b;p=pmi.git Convert textarea to markdown | wip #2742 @0:05 --- diff --git a/app/SubForms/Intro.php b/app/SubForms/Intro.php index 002f120..514ac8d 100644 --- a/app/SubForms/Intro.php +++ b/app/SubForms/Intro.php @@ -13,14 +13,14 @@ class Intro extends SubForm parent::init(); $this->addField(['name' => 'title', 'label' => 'Titre', - 'type' => 'Markdown', + 'type' => 'Textarea', 'attributes' => [ 'rows' => '2', // Sometimes we need to put line breaks in titles, hence the textarea ]]); $this->addField(['name' => 'text', 'label' => 'Texte', - 'type' => 'Textarea', + 'type' => 'Markdown', 'attributes' => [ 'rows' => 10, ]]);