Migration
Last updated
Last updated
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:
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 .
Add file
disk to config/filesystems.php
file:
Rerun the publish command to publish the model, nova resource, and migration files for the file picker:
Migrate
That's it! Your changes should now be applied.
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.
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:
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
Create a disk drive in your filesystems.php
That's it. You're done.
html-support
has been added to the toolbar properties in config/nova-ckeditor.php
.
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.
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 ().