Download the PHP package eductool/quill-editor-bundle without Composer
On this page you can find all versions of the php package eductool/quill-editor-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eductool/quill-editor-bundle
More information about eductool/quill-editor-bundle
Files in eductool/quill-editor-bundle
Package quill-editor-bundle
Short Description Symfony bundle providing a Quill.js form field.
License MIT
Informations about the package quill-editor-bundle
Quill Editor Bundle
A lightweight Symfony bundle that exposes the Quill.js rich text editor as a reusable form field.
Installation
If you are not using Symfony Flex, register the bundle manually in config/bundles.php:
Install the bundle assets so the helper script is available under public/:
Configuration
The bundle works out of the box. You may customise the defaults in config/packages/quill_editor.yaml:
include_cdn: toggle automatic loading of Quill assets from jsDelivr. Set tofalseif you manage assets yourself.modules: merged with the bundle defaults, so you can tweak only the portions you need.auto_initialize: set tofalseto defer editor creation and initialise manually via JavaScript (window.QuillEditorBundle.initialize('field_id')).
Usage
The bundle automatically registers a Twig form theme. You can use the field type like any other Symfony field:
The submitted value is HTML. You may convert it to Delta format in your own code if required.
Manual Initialisation
When auto_initialize is disabled, call the helper to create the editor once your own scripts are ready:
You can also retrieve an existing instance:
Browser Support
The helper script relies on evergreen browser features (Promises, Map). For legacy support you should include appropriate polyfills before loading the field.
License
Released under the MIT License.
All versions of quill-editor-bundle with dependencies
symfony/dependency-injection Version ^5.4 || ^6.0 || ^7.0 || ^8.0
symfony/form Version ^5.4 || ^6.0 || ^7.0 || ^8.0
symfony/framework-bundle Version ^5.4 || ^6.0 || ^7.0 || ^8.0
symfony/twig-bundle Version ^5.4 || ^6.0 || ^7.0 || ^8.0
symfony/asset Version ^5.4 || ^6.0 || ^7.0 || ^8.0