Plugins AEM RTE阈值插件

Plugins AEM RTE阈值插件,plugins,aem,rte,Plugins,Aem,Rte,我想限制可以添加到richtext字段中的字符数。有人知道RTE阈值插件是如何工作的吗?它似乎不是那样工作的 这是我的对话: <headline jcr:primaryType="cq:Widget" fieldLabel="Headline" name="./headline" xtype="richtext"> <rtePlugins jcr:primaryType="nt:unstructured"> <

我想限制可以添加到richtext字段中的字符数。有人知道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>


谢谢

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