neosrulez / neos-ckeditor-customstyles
该包最新版本(2.0.4)没有可用的许可信息。
Neos CK Editor的自定义样式。
2.0.4
2024-08-12 14:02 UTC
Requires
- neos/neos: ^8.0 || ^8.1 || ^8.2
- neos/neos-ui: ^8.0 || ^8.1 || ^8.2
This package is not auto-updated.
Last update: 2024-09-23 14:32:25 UTC
README
A Neos CMS plugin that allows you to apply your own stylesheets to text.
安装
只需运行
composer require neosrulez/neos-ckeditor-customstyles
配置
NeosRulez: Neos: CkEditor: CustomStyles: presets: fontAwesomeIcon: label: Font Awesome dataSourceIdentifier: neosrulez-bootstrap-fa textColor: label: Text color options: primary: label: Primary cssClasses: 'text-primary' preview: '/_Resources/Static/Packages/Acme.Package/primary-color.png' secondary: label: Secondary cssClasses: 'text-primary' backgroundColor: '#0a58ca' textColor: '#FFFFFF' success: label: Success cssClasses: 'text-success'
使用方法
'Neos.NodeTypes:Text': properties: text: ui: inline: editorOptions: customStyles: fontAwesomeIcon: true textColor: true