Nova Ckeditor
  • 🏁Getting Started
    • Introduction
    • Installation
    • Support Us
    • License
    • Demo
  • 🚀Basic Usage
    • Usage
    • Notes
  • ⚙️Advanced Usage
    • Customize ImageStorage
    • Integrating NovaFileArtisan (Larupload) with Image Resource
    • Customize AudioStorage
    • Customize FileStorage
    • Multiple Toolbars
    • Customize Toolbar Items
    • Media Embed
    • CkEditor Field Options
      • Toolbar
      • Height
      • Limit On Index
      • Content Language
      • Force Paste as Plain Text
      • Alert Before Unsaved Changes
      • Text Part Language
      • General HTML Support
      • Group Items In Overflow Mode
      • Image Browser
      • Audio Browser
      • Video Browser
      • File Browser
      • Snippets
    • Configuration
      • Video Model
      • Image Model
      • Memory
      • Max Image Quality
      • Image Max Width
      • Image Max Height
      • Image Naming Method
      • Image Processing Library
      • Audio Naming Method
      • File Naming Method
      • Toolbars
        • Default Toolbar
        • Toolbar 1
          • Height
          • Items
          • Options
          • Content Lang
          • Force Paste as Plain Text
          • Alert Before Unsaved Changes
          • UI Language
            • UI Language Name
            • UI Language Script
          • Text Part Language
          • General HTML Support
          • Group Items In Overflow Mode
          • Image Browser
          • Audio Browser
          • Video Browser
          • File Browser
          • Insert Image Types
          • Insert Image Size
          • Snippets
  • ⚪Other
    • Migration
    • Credit and Thanks
Powered by GitBook
On this page
  • From 7.2.1 to 7.3.0
  • From 6.2.1 to 7.0.0
  • From 5.3.0 to 5.4.0
  • From 5.1.0 to 5.1.1
  • From 4.1.2 to 5.0.0
  • From 3.1.1 to 3.2.0
Edit on GitHub
  1. Other

Migration

PreviousSnippetsNextCredit and Thanks

Last updated 1 year ago

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 .

  2. Add file disk to config/filesystems.php file:

'disks' => [
    'file' => [
        'driver'     => 'local',
        'root'       => public_path('uploads/file'),
        'url'        => env('APP_URL') . '/uploads/file',
    ]
]
  1. Rerun the publish command to publish the model, nova resource, and migration files for the file picker:

php artisan vendor:publish --provider="Mostafaznv\NovaCkEditor\FieldServiceProvider"
  1. Migrate

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).

If you are migrating from version 6.* to 7.*, please be aware that you need to replace imageBrowser, videoBrowser, and audioBrowser with mediaBrowser in the nova-ckeditor's configuration file, locate it in toolbars.toolbar-1.items.

Additionally, update imageBrowser to mediaBrowser in toolbars.toolbar-1.options.image.toolbar.

We have discontinued support for both "intervention/image": "^2.5" as well "mostafaznv/nova-video": "^4.0|^5.0". If you are using these packages in your projects, please be aware that you need to upgrade them to "intervention/image": "^3.1.0" and "mostafaznv/nova-video": "^6.1.0" before proceeding.

From 5.3.0 to 5.4.0

The AudioPicker feature has been introduced to the ckeditor field.

To activate this functionality, you need to republish the migrations, models and resources.

Execute the following command:

php artisan vendor:publish --provider="Mostafaznv\NovaCkEditor\FieldServiceProvider"

This command will generate two classes for Audio in Models and App\Nova\Resources directories, along with a migration file for the audio table.

After running the php artisan migrate command to create the audio table, follow these additional steps:

    • audio-naming-method

    • toolbars.toolbar-1.browser.audio

    • toolbars.toolbar-1.items.audioBrowser

  1. Create a disk drive in your filesystems.php

config/filesystems.php
'disks' => [
    'audio' => [
        'driver'     => 'local',
        'root'       => public_path('uploads/audio'),
        'url'        => env('APP_URL') . '/uploads/audio',
    ]
]

That's it. You're done.

From 5.1.0 to 5.1.1

  • html-support has been added to the toolbar properties in config/nova-ckeditor.php.

From 4.1.2 to 5.0.0

There were some backward incompatible changes made to the configuration file. Please review the updated config file for changes and make corresponding updates to ensure compatibility.

  • headings removed from config file and moved to toolbars.toolbar-1.options.

  • headings method removed from CkEditor field.

  • toolbar property of config file moved to toolbars.toolbar-1.

  • the arguments of toolbar method have changed. now you can pass toolbar name as first argument and toolbar items as second argument.

From 3.1.1 to 3.2.0

Add the following properties to config/nova-ckeditor.php file (Check version of the config for reference):

Please add removeFormat to toolbar.items in config file ().

⚪
original config file
the latest
config/nova-ckeditor.php