From 586d2ee3338b77c1ededbe2c2f4409106b6872ba Mon Sep 17 00:00:00 2001 From: Chris Pelzer Date: Thu, 28 Jul 2022 14:25:07 -0400 Subject: [PATCH] CKEditor `standard` build was used instead of the previous `full-all`, switch back to `full-all` --- composer.json | 2 +- config/ckeditor-field.php | 2 +- resources/js/components/CKEditor.js | 2 +- src/CKEditor4FieldServiceProvider.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 0d45d66..c99239a 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "waynestate/nova-ckeditor4-field", - "version": "1.1.0", + "version": "1.1.1", "description": "This nova package allows you to use CKEditor 4 for text areas.", "keywords": [ "laravel", diff --git a/config/ckeditor-field.php b/config/ckeditor-field.php index 0bee25a..f42d3ef 100644 --- a/config/ckeditor-field.php +++ b/config/ckeditor-field.php @@ -65,5 +65,5 @@ | CKEditor 4 is only supported. This will not work with CKEditor 5 | */ - 'ckeditor_url' => 'https://cdn.ckeditor.com/4.19.1/standard/ckeditor.js', + 'ckeditor_url' => 'https://cdn.ckeditor.com/4.19.1/full-all/ckeditor.js', ]; diff --git a/resources/js/components/CKEditor.js b/resources/js/components/CKEditor.js index 1c12036..afc8ed9 100644 --- a/resources/js/components/CKEditor.js +++ b/resources/js/components/CKEditor.js @@ -28,7 +28,7 @@ export default { }, editorUrl: { type: String, - default: 'https://cdn.ckeditor.com/4.19.1/standard-all/ckeditor.js' + default: 'https://cdn.ckeditor.com/4.19.1/full-all/ckeditor.js' }, config: { type: Object, diff --git a/src/CKEditor4FieldServiceProvider.php b/src/CKEditor4FieldServiceProvider.php index 41c5a5c..8f90ad3 100644 --- a/src/CKEditor4FieldServiceProvider.php +++ b/src/CKEditor4FieldServiceProvider.php @@ -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.1/standard/ckeditor.js')); + Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.19.1/full-all/ckeditor.js')); Nova::script('nova-ckeditor', __DIR__ . '/../dist/js/field.js'); // Nova::style('nova-ckeditor', __DIR__ . '/../dist/css/field.css');