【问题标题】:AEM Rich Text Editor to edit colors用于编辑颜色的 AEM 富文本编辑器
【发布时间】:2018-06-13 18:00:09
【问题描述】:

Rich Text Editor 中是否有允许您编辑文本颜色的属性?

这是我当前的对话框:

<lifeSavings
    jcr:primaryType="nt:unstructured"
    value="Lifetime Savings"
    sling:resourceType="cq/gui/components/authoring/dialog/richtext"
    fieldDescription="Enter Lifetime Savings title"
    fieldLabel="Lifetime Savings title"
    name="./lifesavings"
    textIsRich="true"
    useFixedInlineToolbar="{Boolean}true">
    <rtePlugins jcr:primaryType="nt:unstructured">
        <format
            jcr:primaryType="nt:unstructured"
            features="*"/>
    </rtePlugins>
    <uiSettings jcr:primaryType="nt:unstructured">
        <cui jcr:primaryType="nt:unstructured">
            <inline
                jcr:primaryType="nt:unstructured"
                toolbar="[format#bold,format#italic,format#underline]">

            </inline>
        </cui>
    </uiSettings>
</lifeSavings>

【问题讨论】:

  • 没有 OOTB 插件可用于为文本 AFAIK 添加颜色。但是,您可以利用 Styles plugin 定义类名并通过 CSS 为这些类添加颜色,或者您可以使用详细的自定义实现 in this blog

标签: eclipse user-interface adobe aem rte


【解决方案1】:

不,没有。但是,你可以使用Color Picker Plugin

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-10-09
    • 2011-06-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多