Skip to content

Commit

Permalink
Update to latest CKEditor 4.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispelzer committed Mar 6, 2019
1 parent 8e77c12 commit ba138cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,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.10.1) Standard All version. If you wish to use a different CKEditor 4 you can do so by editing the configuration.
By default the CKEditor 4 instance used is the latest (4.11.3) 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
3 changes: 1 addition & 2 deletions config/ckeditor-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
|--------------------------------------------------------------------------------
|
| This is the URL used to load the CKEditor instance.
| ex: https://cdn.ckeditor.com/4.11.2/full-all/ckeditor.js
|
| Note: The URL must begin with "http://" or "https://"
|
Expand All @@ -50,5 +49,5 @@
| CKEditor 4 is only supported. This will not work with CKEditor 5
|
*/
'ckeditor_url' => 'https://cdn.ckeditor.com/4.11.2/full-all/ckeditor.js',
'ckeditor_url' => 'https://cdn.ckeditor.com/4.11.3/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.2/full-all/ckeditor.js'));
Nova::script('ckeditor', config('nova.ckeditor-field.ckeditor_url', 'https://cdn.ckeditor.com/4.11.3/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 ba138cc

Please sign in to comment.