From c9e2f0dadd312d8fe92ce815297e26941b21eba6 Mon Sep 17 00:00:00 2001 From: Mostafa Zeinivand Date: Fri, 5 Apr 2024 11:46:55 +0000 Subject: [PATCH] GITBOOK-19: change request with no subject merged in GitBook --- docs/SUMMARY.md | 4 ---- docs/other/migration.md | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 070a64f..e0a0648 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -18,7 +18,6 @@ * [Customize ImageStorage](advanced-usage/customize-imagestorage.md) * [Integrating NovaFileArtisan (Larupload) with Image Resource](advanced-usage/integrating-novafileartisan-larupload-with-image-resource.md) * [Customize AudioStorage](advanced-usage/customize-audiostorage.md) -* [Customize FileStorage](advanced-usage/customize-audiostorage-1.md) * [Multiple Toolbars](advanced-usage/multiple-toolbars.md) * [Customize Toolbar Items](advanced-usage/customize-toolbar-items.md) * [Media Embed](advanced-usage/media-embed.md) @@ -33,7 +32,6 @@ * [Image Browser](advanced-usage/ckeditor-field-options/image-browser.md) * [Audio Browser](advanced-usage/ckeditor-field-options/audio-browser.md) * [Video Browser](advanced-usage/ckeditor-field-options/video-browser.md) - * [File Browser](advanced-usage/ckeditor-field-options/audio-browser-1.md) * [Snippets](advanced-usage/ckeditor-field-options/snippets.md) * [Configuration](advanced-usage/configuration/README.md) * [Video Model](advanced-usage/configuration/video-model.md) @@ -44,7 +42,6 @@ * [Image Max Height](advanced-usage/configuration/image-max-height.md) * [Image Naming Method](advanced-usage/configuration/image-naming-method.md) * [Audio Naming Method](advanced-usage/configuration/audio-naming-method.md) - * [File Naming Method](advanced-usage/configuration/audio-naming-method-1.md) * [Toolbars](advanced-usage/configuration/toolbars/README.md) * [Defualt Toolbar](advanced-usage/configuration/toolbars/defualt-toolbar.md) * [Toolbar 1](advanced-usage/configuration/toolbars/toolbar-1/README.md) @@ -61,7 +58,6 @@ * [Image Browser](advanced-usage/configuration/toolbars/toolbar-1/image-browser.md) * [Audio Browser](advanced-usage/configuration/toolbars/toolbar-1/audio-browser.md) * [Video Browser](advanced-usage/configuration/toolbars/toolbar-1/video-browser.md) - * [File Browser](advanced-usage/configuration/toolbars/toolbar-1/audio-browser-1.md) * [Insert Image Types](advanced-usage/configuration/toolbars/toolbar-1/insert-image-types.md) * [Insert Image Size](advanced-usage/configuration/toolbars/toolbar-1/insert-image-size.md) * [Snippets](advanced-usage/configuration/toolbars/toolbar-1/snippets.md) diff --git a/docs/other/migration.md b/docs/other/migration.md index 315c7e2..81566dd 100644 --- a/docs/other/migration.md +++ b/docs/other/migration.md @@ -1,5 +1,40 @@ # Migration +### **From 7.2.1 to 7.3.0** + +Starting from v7.3.0, we introduced a files section to the media picker. However, to prevent users from encountering 500 errors, we've disabled it by default. If you wish to enable it, follow these simple steps: + +1. Update the `config/nova-ckeditor.php` file and add file-naming-method and toolbars.toolbar-1.browser.file to it. For further information, please refer the [original config file](https://github.com/mostafaznv/nova-ckeditor/blob/master/config/nova-ckeditor.php). +2. Add `file` disk to `config/filesystems.php` file: + +```php +'disks' => [ + 'file' => [ + 'driver' => 'local', + 'root' => public_path('uploads/file'), + 'url' => env('APP_URL') . '/uploads/file', + ] +] +``` + +3. Rerun the publish command to publish the model, nova resource, and migration files for the file picker: + +```sh +php artisan vendor:publish --provider="Mostafaznv\NovaCkEditor\FieldServiceProvider" +``` + +4. Migrate + +```sh +php artisan migrate +``` + +That's it! Your changes should now be applied. + + + + + ### **From 6.2.1 to 7.0.0** We have undertaken significant refactoring efforts to release version 7.0.0. Despite our best efforts to avoid introducing any breaking changes, it became necessary due to the merging of all types of media pickers (audio, video, and image).