【问题标题】:AEM RTE thresholds pluginAEM RTE 阈值插件
【发布时间】:2016-02-26 15:23:30
【问题描述】:

我想限制可以添加到富文本字段中的字符数。有人知道 RTE 阈值插件是如何工作的吗?好像不是这样工作的。

这是我的对话:

<headline
    jcr:primaryType="cq:Widget"
    fieldLabel="Headline"
    name="./headline"
    xtype="richtext">
    <rtePlugins jcr:primaryType="nt:unstructured">
        <thresholds
            jcr:primaryType="nt:unstructured"
            thresholds="[20;yellow,25;red]"/>
        <misctools
            jcr:primaryType="nt:unstructured"
            features="[specialchars]">
         </misctools>
        <spellcheck
            jcr:primaryType="nt:unstructured"
            features="[checktext]"/>
        <justify
            jcr:primaryType="nt:unstructured"
            features="[]"/>
        <lists
            jcr:primaryType="nt:unstructured"
            features="[]"/>
        <links
            jcr:primaryType="nt:unstructured"
            features="[modifylink,unlink]"
            name="./links1"/>
    </rtePlugins>
</headline>

谢谢!

【问题讨论】:

    标签: plugins aem rte


    【解决方案1】:

    AEM RTE 不支持开箱即用的阈值插件。您的实现似乎已经实现了这样一个自定义插件。因此,您需要查看该实现以了解如何配置字符限制。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多