neosrulez/neos-styledselectboxeditor

该软件包最新版本(1.0.1)没有可用的许可信息。

Neos CMS样式选择框编辑器

安装: 21

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

语言:JavaScript

类型:neos-plugin

1.0.1 2022-04-14 05:11 UTC

This package is not auto-updated.

Last update: 2024-09-27 02:44:30 UTC


README

Preview

安装

NeosRulez.Neos.StyledSelectBoxEditor软件包已在Packagist上列出(https://packagist.org.cn/packages/neosrulez/neos-styledselectboxeditor)- 因此您不再需要将软件包包含在“repositories”条目中。

只需运行

composer require neosrulez/neos-styledselectboxeditor

配置

'Acme.Site:Document.Page':
  properties:
    fontFamily:
      type: string
      ui:
        label: Font family
        reloadIfChanged: true
        inspector:
          group: document
          editor: NeosRulez/Neos/Inspector/Editors/StyledSelectBoxEditor
          editorOptions:
            values:
              'impact':
                label: 'Impact'
                style: 'font-family: Impact;'
              'courier':
                label: 'Courier'
                style: 'font-family: Courier;'
              'georgia':
                label: 'Georgia'
                style: 'font-family: Georgia;'

作者