Skip to content

Commit

Permalink
penyesuaian editor menggunakan tinymce pada form event (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogiperdana authored Sep 18, 2023
1 parent 4056a6e commit f9b6995
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 24 deletions.
1 change: 1 addition & 0 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
13 changes: 2 additions & 11 deletions resources/views/informasi/event/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,5 @@
</section>
@endsection

@include(('partials.asset_wysihtml5'))
@include(('partials.asset_datetimepicker'))
@push('scripts')
<script>
$(function () {
// Replace the <textarea id="editor1"> with a CKEditor
//bootstrap WYSIHTML5 - text editor
$('.textarea').wysihtml5()
})
</script>
@endpush
@include('partials.tinymce_min')
@include(('partials.asset_datetimepicker'))
13 changes: 2 additions & 11 deletions resources/views/informasi/event/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,5 @@
</section>
@endsection

@include(('partials.asset_wysihtml5'))
@include(('partials.asset_datetimepicker'))
@push('scripts')
<script>
$(function () {
// Replace the <textarea id="editor1"> with a CKEditor
//bootstrap WYSIHTML5 - text editor
$('.textarea').wysihtml5()
})
</script>
@endpush
@include('partials.tinymce_min')
@include(('partials.asset_datetimepicker'))
2 changes: 1 addition & 1 deletion resources/views/informasi/event/form_create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Deskripsi <span class="required">*</span></label>
<div class="col-md-6 col-sm-8 col-xs-12">
{!! 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']) !!}
</div>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/informasi/event/form_edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Deskripsi <span class="required">*</span></label>
<div class="col-md-6 col-sm-8 col-xs-12">
{!! 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']) !!}
</div>
</div>
<div class="form-group">
Expand Down

0 comments on commit f9b6995

Please sign in to comment.