pimcore / quill-bundle
Installs: 27 777
Dependents: 2
Suggesters: 0
Security: 0
Stars: 3
Watchers: 10
Forks: 1
Open Issues: 8
Language:JavaScript
Type:pimcore-bundle
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- pimcore/pimcore: ^11.0
Requires (Dev)
- nyholm/psr7: ^1
- phpstan/phpstan: ^1.10.5
- phpstan/phpstan-symfony: ^1.2.20
- phpunit/phpunit: 10.2.7
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2025-04-23 14:36:53 UTC
README
This bundle provides the Quill 2.x WYSIWYG editor integration for Pimcore. This includes the WYSIWYG for Documents, Data Objects and Shared Translations.
Installation
See Installation
Migration to Quill
See Migration
Configuration
Available configuration options can be found here: config options
Themes
Available themes and how to configure it can be found here: themes
Examples
Basic usage
wysiwyg
helper doesn't require any additional configuration options.
The following code customize the toolbar.
<section id="marked-content"> {{ pimcore_wysiwyg("specialContent", { modules: { toolbar: { container: [ [{ header: [1, 2, 3, 4, 5, 6, false] }] ] } } }) }} </section>
Custom configuration for Quill
A list of configuration options you can find in the Quill toolbar documentation.
In addition to this you can also configure undo
, redo
and html-edit
.
The WYSIWYG editable allows us to specify the toolbar.
If you have to limit styling options (for example only basic styles like <b>
tag and lists would be allowed), just use toolbar
option.
<section id="marked-content"> {{ pimcore_wysiwyg("specialContent", { modules: { toolbar: { container: [ ['undo', 'redo'], [{ header: [1, 2, 3, 4, 5, 6, false] }], ['html-edit'] ] } } }) }} </section>
Now the user can use only the limited toolbar.