Skip to content

Commit

Permalink
Update to the latest CKEditor v4.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispelzer committed Jul 28, 2022
1 parent ba5e758 commit 283aefe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You can install the package into a Laravel application that uses [Nova](https://
composer require waynestate/nova-ckeditor4-field
```

By default the CKEditor 4 instance used is the latest (4.19.0) Full All version (https://cdn.ckeditor.com/). If you wish to use a different CKEditor 4 you can do so by publishing and editing the configuration.
By default the CKEditor 4 instance used is the latest (4.19.1) Full All version (https://cdn.ckeditor.com/). If you wish to use a different CKEditor 4 you can do so by publishing and editing the configuration.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion config/ckeditor-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
| CKEditor 4 is only supported. This will not work with CKEditor 5
|
*/
'ckeditor_url' => 'https://cdn.ckeditor.com/4.19.0/full-all/ckeditor.js',
'ckeditor_url' => 'https://cdn.ckeditor.com/4.19.1/standard/ckeditor.js',
];
2 changes: 1 addition & 1 deletion dist/js/field.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/CKEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
},
editorUrl: {
type: String,
default: 'https://cdn.ckeditor.com/4.19.0/standard-all/ckeditor.js'
default: 'https://cdn.ckeditor.com/4.19.1/standard-all/ckeditor.js'
},
config: {
type: Object,
Expand Down
2 changes: 1 addition & 1 deletion src/CKEditor4FieldServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function boot()
});

Nova::serving(function (ServingNova $event) {
Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.19.0/full-all/ckeditor.js'));
Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.19.1/standard/ckeditor.js'));

Nova::script('nova-ckeditor', __DIR__ . '/../dist/js/field.js');
// Nova::style('nova-ckeditor', __DIR__ . '/../dist/css/field.css');
Expand Down

0 comments on commit 283aefe

Please sign in to comment.