Skip to content

Commit

Permalink
add ckeditor config extras
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorarnau committed Oct 18, 2019
1 parent d8304f4 commit 4c3f073
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/admin/views/attributes/K.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
@endif
@section('scripts')
@parent
<script type="text/javascript">CKEDITOR.replace( '{{$attribute_name}}');</script>
<script type="text/javascript">
CKEDITOR.replace( '{{$attribute_name}}' @if(file_exists(public_path().'/extras/ckeditor_config.js')), {customConfig: '/extras/ckeditor_config.js'}@endif);
</script>
@endsection

0 comments on commit 4c3f073

Please sign in to comment.