Skip to content

Commit

Permalink
Update CKEditor4 from v4.20.2 to v4.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispelzer committed Apr 10, 2023
1 parent 5089128 commit 56ea34e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/ckeditor-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@
| CKEditor 4 is only supported. This will not work with CKEditor 5
|
*/
'ckeditor_url' => 'https://cdn.ckeditor.com/4.20.2/full-all/ckeditor.js',
'ckeditor_url' => 'https://cdn.ckeditor.com/4.21.0/full-all/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.20.2/full-all/ckeditor.js'
default: 'https://cdn.ckeditor.com/4.21.0/full-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.20.2/full-all/ckeditor.js'));
Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.21.0/full-all/ckeditor.js'));

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

0 comments on commit 56ea34e

Please sign in to comment.