networkteam/neos-pencilcase

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

安装: 48

依赖: 0

建议者: 0

安全: 0

星星: 0

观察者: 2

分支: 0

开放问题: 1

语言:JavaScript

类型:neos-package

1.2.0 2024-07-09 13:53 UTC

This package is auto-updated.

Last update: 2024-09-12 06:54:55 UTC


README

使用yaml文件自定义CKeditor

Neos:
  Neos:
    Ui:
      frontendConfiguration:
        Networkteam.Neos.PencilCase:
          # the heading options will be added to the dropdown menu for blockstyles
          headingOptions:
            fancy:
              label: Fancy
              tagName: span
              attributes:
                class: fancy
                data-nwt-plugin: nwt.awesomeSpecialTextEffect
                style:
                  color: tomato
          # customOptions will be added as buttons
          customOptions:
            violet:
              tooltip: Highlight
              icon: rocket
              tagName: span
              # are fixed when set in config
              attributes:
                class: 'highlight'
                style:
                  background: violet
              # will be editable inside ckEditor
              editableAttributes:
                # set a custom anchor inside your copytext
                id:
                  # add label to the input field (falling back to attribute name), with i18n support
                  label: ID
                  # add a placeholder to the input field, with i18n support
                  placeholder: Vendor.Site:Main:id.placeholder
                # add information to certain parts of copytext
                data-test: true
                # native tooltip
                title: true