diff --git a/CHANGELOG.md b/CHANGELOG.md index a29583f..ebeed1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.2.1] - 2022-11-03 +### Fixed +* Fixed issue with no user configuration is present that the image2 plugin wasn't being added to the extra plugins in https://github.com/waynestate/nova-ckeditor4-field/pull/82/files + +### Changed +* Updated CKEditor4 from v4.20.0 to v4.20.2 + ## [1.2.0] - 2022-11-03 ### Changed * Renamed the migration to include a timestamp to ensure only one migration is created. diff --git a/README.md b/README.md index 4cd28b2..7bc4282 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,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.20.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.20.2) 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 diff --git a/resources/js/components/CKEditor.js b/resources/js/components/CKEditor.js index 1222edd..3ead830 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.20.0/full-all/ckeditor.js' + default: 'https://cdn.ckeditor.com/4.20.2/full-all/ckeditor.js' }, config: { type: Object, diff --git a/src/CKEditor4FieldServiceProvider.php b/src/CKEditor4FieldServiceProvider.php index 2fdf7ca..379bdcb 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.20.0/full-all/ckeditor.js')); + Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.20.2/full-all/ckeditor.js')); Nova::script('nova-ckeditor', __DIR__ . '/../dist/js/field.js'); // Nova::style('nova-ckeditor', __DIR__ . '/../dist/css/field.css');