Skip to content

Commit

Permalink
Update CKEditor to latest v4.14.0 due to XSS vulnerability in the Web…
Browse files Browse the repository at this point in the history
…SpellChecker plugin

ckeditor/ckeditor4@8a12b04
  • Loading branch information
chrispelzer committed Mar 6, 2020
1 parent c33adb6 commit c2af7e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/ckeditor-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
|
| or
|
| you could use use composer to install your CKEditor from
| you could use composer to install your CKEditor from
| https://github.com/ckeditor/ckeditor-releases/ and symbolic link the
| "vendor/ckeditor/ckeditor" to "public/js/ckeditor".
| then replace the "ckeditor_url" to be
Expand All @@ -49,5 +49,5 @@
| CKEditor 4 is only supported. This will not work with CKEditor 5
|
*/
'ckeditor_url' => 'https://cdn.ckeditor.com/4.11.3/full-all/ckeditor.js',
'ckeditor_url' => 'https://cdn.ckeditor.com/4.14.0/full-all/ckeditor.js',
];
2 changes: 1 addition & 1 deletion src/CKEditorFieldServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CKEditorFieldServiceProvider extends ServiceProvider
public function boot()
{
Nova::serving(function (ServingNova $event) {
Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.11.3/full-all/ckeditor.js'));
Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.14.0/full-all/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 c2af7e0

Please sign in to comment.