From f9b69953792acd2a42946460379f7f8fb15c1fde Mon Sep 17 00:00:00 2001 From: Yogi Perdana Date: Mon, 18 Sep 2023 13:46:37 +0700 Subject: [PATCH] penyesuaian editor menggunakan tinymce pada form event (#853) --- catatan_rilis.md | 1 + resources/views/informasi/event/create.blade.php | 13 ++----------- resources/views/informasi/event/edit.blade.php | 13 ++----------- .../views/informasi/event/form_create.blade.php | 2 +- resources/views/informasi/event/form_edit.blade.php | 2 +- 5 files changed, 7 insertions(+), 24 deletions(-) diff --git a/catatan_rilis.md b/catatan_rilis.md index 4c4e2e989..da37b6fd8 100644 --- a/catatan_rilis.md +++ b/catatan_rilis.md @@ -11,6 +11,7 @@ Terima kasih pada [untuk diisi] yang terus berkontribusi. 1. [#797](https://github.com/OpenSID/OpenDK/issues/797) Penyesuaian editor menggunakan tinymce pada form profil keacamtan. 2. [#828](https://github.com/OpenSID/OpenDK/issues/828) Penyesuaian editor menggunakan tinymce pada form faq. 3. [#838](https://github.com/OpenSID/OpenDK/issues/838) Penyesuaian package yang tidak digunakan. +4. [#828](https://github.com/OpenSID/OpenDK/issues/828) Penyesuaian editor menggunakan tinymce pada form event. #### Peningkatan Keamanan diff --git a/resources/views/informasi/event/create.blade.php b/resources/views/informasi/event/create.blade.php index 8ba0e0bf5..36ad0cb7d 100644 --- a/resources/views/informasi/event/create.blade.php +++ b/resources/views/informasi/event/create.blade.php @@ -44,14 +44,5 @@ @endsection -@include(('partials.asset_wysihtml5')) -@include(('partials.asset_datetimepicker')) -@push('scripts') - -@endpush \ No newline at end of file +@include('partials.tinymce_min') +@include(('partials.asset_datetimepicker')) \ No newline at end of file diff --git a/resources/views/informasi/event/edit.blade.php b/resources/views/informasi/event/edit.blade.php index 7242d5478..57d2a3ea3 100755 --- a/resources/views/informasi/event/edit.blade.php +++ b/resources/views/informasi/event/edit.blade.php @@ -44,14 +44,5 @@ @endsection -@include(('partials.asset_wysihtml5')) -@include(('partials.asset_datetimepicker')) -@push('scripts') - -@endpush \ No newline at end of file +@include('partials.tinymce_min') +@include(('partials.asset_datetimepicker')) \ No newline at end of file diff --git a/resources/views/informasi/event/form_create.blade.php b/resources/views/informasi/event/form_create.blade.php index f9d3ea008..61ec047c3 100755 --- a/resources/views/informasi/event/form_create.blade.php +++ b/resources/views/informasi/event/form_create.blade.php @@ -13,7 +13,7 @@
- {!! Form::textarea('description', null, ['class' => 'textarea', 'placeholder' => 'Deskripsi kegiatan', 'style' => 'width: 100%; height: 200px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;', 'required' => 'required']) !!} + {!! Form::textarea('description', null, ['class' => 'textarea my-editor', 'placeholder' => 'Deskripsi kegiatan', 'style' => 'width: 100%; height: 200px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;', 'required' => 'required']) !!}
diff --git a/resources/views/informasi/event/form_edit.blade.php b/resources/views/informasi/event/form_edit.blade.php index ab2796805..076909641 100755 --- a/resources/views/informasi/event/form_edit.blade.php +++ b/resources/views/informasi/event/form_edit.blade.php @@ -13,7 +13,7 @@
- {!! Form::textarea('description', null, ['class' => 'textarea', 'placeholder' => 'Deskripsi kegiatan', 'style' => 'width: 100%; height: 200px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;', 'required' => 'required']) !!} + {!! Form::textarea('description', null, ['class' => 'textarea my-editor', 'placeholder' => 'Deskripsi kegiatan', 'style' => 'width: 100%; height: 200px; font-size: 14px; line-height: 18px; border: 1px solid #dddddd; padding: 10px;', 'required' => 'required']) !!}