Customize FileStorage
You have the option to override the FileStorage
service by binding your own extended version using the following code snippet:
By creating a custom MyFileStorage
class that extends FileStorage
, you can define your own logic for handling file storage within the __invoke()
method. Afterward, binding the custom class to the 'ckeditor-file-storage'
key allows Laravel Nova to use your extended implementation instead of the default one.
Within the __invoke()
method of MyFileStorage
, you can implement your desired functionality to handle file storage according to your specific requirements.
This feature was introduced in version 7.3.0 of the NovaCKEditor
Last updated