【发布时间】: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>
谢谢!
【问题讨论】: