Download the PHP package wmateam/nova-quilljs without Composer
On this page you can find all versions of the php package wmateam/nova-quilljs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package nova-quilljs
Laravel Nova Quilljs editor Field
Note
Note This package has been forked from ek0519/nova-quilljs and contains some features about uploading image from clipboard.
A Laravel Nova implementation of the Quill editor for Vue.js
What's new (20200708)?
Thanks for Gabrijel Gavranović's PR, add file upload max size setting.
Installation
Install via composer
Modify quill's height and width
fullWidth(value)
Boolean
height(value)
Number (unit px)
resize and align image
I add this module https://github.com/Fandom-OSS/quill-blot-formatter , thanks for https://github.com/Fandom-OSS
Image upload size
maxFileSize(size)
size : Number, default 2(MB)
example
Image upload
This Nova field provides native attachments driver which works similar to Trix File Uploads.
To use this attachments driver, publish and run the migration(also publish quilljs config to set toolbar):
Then, allow users to upload images, just like with Trix field, chaining the withFiles method onto the field's definition. When calling this method, you should pass the name of the filesystem disk that images should be stored on(in this example, we use public, please use this command php artisan storage:link
):
Customizing Tooltips
In default, tooltip was disabled, if you want to use, in Resource add ->tooltip(true)
in config/tooltip.php
You can use favorite description of tooltip.
Customizing Quilljs Toolbar
If you want to change toolbar's setting, you can change quilljs.php in config folder, referrence quilljs's web site https://quilljs.com/docs/modules/toolbar
Video embed
Only support Youtube Facebook,default size in Nova was width 800px and height 450px,define in css
Youtube
- Example url https://www.youtube.com/watch?v=rgHqK6Dge4w