Skip to content

Commit

Permalink
Update README.md and CHANGELOG.md with the latest
Browse files Browse the repository at this point in the history
Update more areas that reference the CKEditor URL
  • Loading branch information
chrispelzer committed Feb 24, 2023
1 parent 5ec0656 commit 0f8cddb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
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.0/full-all/ckeditor.js'
default: 'https://cdn.ckeditor.com/4.20.2/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.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');
Expand Down

0 comments on commit 0f8cddb

Please sign in to comment.