Skip to content

Commit

Permalink
ckeditor config
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Dec 4, 2019
1 parent ab9ae01 commit c42b2b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/resources/views/admin/_form.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@push('js')
<script src="{{ asset('components/ckeditor/ckeditor.js') }}"></script>
<script src="{{ asset('components/ckeditor4/ckeditor.js') }}"></script>
<script src="{{ asset('components/ckeditor4/config-full.js') }}"></script>
@endpush

@component('core::admin._buttons-form', ['model' => $model])
Expand All @@ -23,4 +24,4 @@
{!! TranslatableBootForm::checkbox(__('Published'), 'status') !!}
</div>
{!! TranslatableBootForm::textarea(__('Summary'), 'summary')->rows(4) !!}
{!! TranslatableBootForm::textarea(__('Body'), 'body')->addClass('ckeditor') !!}
{!! TranslatableBootForm::textarea(__('Body'), 'body')->addClass('ckeditor-full') !!}

0 comments on commit c42b2b5

Please sign in to comment.