carlcs / craft-redactorinlinestyles
针对 Craft CMS 的 Redactor 自定义样式插件
5.0.0
2024-02-08 19:59 UTC
Requires
- craftcms/cms: ^5.0.0-beta.1
- craftcms/redactor: ^4.0.0-alpha
README
将预定义的自定义样式应用于 Redactor 字段中的文本。
安装
Redactor Custom Styles 可在插件商店找到。您也可以使用以下命令通过命令行手动安装插件。
composer require carlcs/craft-redactorcustomstyles
php craft plugin/install redactor-custom-styles
快速开始
将 _examples/redactor/ 中的文件复制到您的 config/redactor/ 文件夹,然后在 Redactor 字段设置中的“Redactor 配置”设置中会出现“示例”选项。
配置
...