Download the PHP package ek0519/quilljs without Composer
On this page you can find all versions of the php package ek0519/quilljs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package quilljs
Laravel Nova Quilljs editor Field
A Laravel Nova implementation of the Quill editor for Vue.js
What's new (2021-11-22)?
You can use custom quilljs setting in different fields.
2021-08-09
Work with other package nova-translatable and nova-flexible-content, maybe it can change Vue this.fields.attribute
, so I add uploadUrlSplit
method, You can correctly upload your image.
Installation
Install via composer
Modify quill's height, width, padding bottom
paddingBottom(integer)
In nova interface was not easy to set css about quill padding bottom, at some resolution maybe can overlaps, you can use paddingBottom to modify.
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
):
Work with other package nova-translatable and nova-flexible-content
When you use other packages like nova-translatable and nova-flexible-content, they will overwrite upload api.
Ex: origin your_host/nova-vendor/quilljs/articles/upload/content
,
maybe overwrite to
/nova-vendor/quilljs/articles/upload/content.en
or
/nova-vendor/quilljs/articles/upload/content__SDAcscsdw
.
You can use
uploadUrlSplit(split_string)
split_string : String
example
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, reference quilljs's web site https://quilljs.com/docs/modules/toolbar
or you can use new api ->config(array [])
.
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