From: Louis Jeckel Date: Tue, 8 Sep 2020 18:24:47 +0000 (+0200) Subject: ckeditor X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2eb22545667c788698bc2116e72e13a8a1eb0aba;p=psq.git ckeditor --- diff --git a/database/migrations/2020_08_11_092617_create_labo_articles_tables.php b/database/migrations/2020_08_11_092617_create_labo_articles_tables.php index d0a03d6..e222cf1 100644 --- a/database/migrations/2020_08_11_092617_create_labo_articles_tables.php +++ b/database/migrations/2020_08_11_092617_create_labo_articles_tables.php @@ -14,7 +14,7 @@ class CreateLaboArticlesTables extends Migration // feel free to modify the name of this column, but title is supported by default (you would need to specify the name of the column Twill should consider as your "title" column in your module controller if you change it) $table->string('title', 200)->nullable(); - $table->string('chapo')->nullable(); + $table->text('chapo')->nullable(); $table->text('preview')->nullable(); $table->text('content')->nullable(); $table->integer('position')->nullable(); diff --git a/resources/views/admin/humeurs/form.blade.php b/resources/views/admin/humeurs/form.blade.php index 6183ee6..01b0f73 100644 --- a/resources/views/admin/humeurs/form.blade.php +++ b/resources/views/admin/humeurs/form.blade.php @@ -1,7 +1,7 @@ @extends('twill::layouts.form') @section('contentFields') - @formField('wysiwyg', [ + @formField('ckeditor', [ 'name' => 'extract', 'label' => 'Extrait', ]) diff --git a/resources/views/admin/laboArticles/form.blade.php b/resources/views/admin/laboArticles/form.blade.php index fecb79a..4bb9979 100644 --- a/resources/views/admin/laboArticles/form.blade.php +++ b/resources/views/admin/laboArticles/form.blade.php @@ -1,7 +1,7 @@ @extends('twill::layouts.form') @section('contentFields') - @formField('input', [ + @formField('wysiwyg', [ 'name' => 'chapo', 'label' => 'Chapô', 'maxlength' => 250, diff --git a/resources/views/en-plus/index.blade.php b/resources/views/en-plus/index.blade.php index 30887ec..bb3dd6b 100644 --- a/resources/views/en-plus/index.blade.php +++ b/resources/views/en-plus/index.blade.php @@ -7,7 +7,7 @@

Nos mauvaises humeurs

-