pimcore/quill-bundle
最新稳定版本:v2.2.2
Composer 安装命令:
composer require pimcore/quill-bundle
包简介
README 文档
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.
Global Configuration
统计信息
- 总下载量: 119.53k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2024-12-03