Aem 在cq5中禁用开箱即用组件的样式?
我需要禁用/删除CQ5中开箱即用组件“文本”的“粗体”选项? 可能吗?是的。 如前所述,可以根据您的要求配置富文本编辑器 因此,根据您的要求,在richtext小部件下创建一个nt:unstructured node“rtePlugins”,然后在rtePlugins下创建另一个nt:unstructured node“format”,并添加名为“features”的多值属性,其值根据您的要求,即斜体和下划线 相同的json如下所示Aem 在cq5中禁用开箱即用组件的样式?,aem,Aem,我需要禁用/删除CQ5中开箱即用组件“文本”的“粗体”选项? 可能吗?是的。 如前所述,可以根据您的要求配置富文本编辑器 因此,根据您的要求,在richtext小部件下创建一个nt:unstructured node“rtePlugins”,然后在rtePlugins下创建另一个nt:unstructured node“format”,并添加名为“features”的多值属性,其值根据您的要求,即斜体和下划线 相同的json如下所示 text: { xtype: "richtext", name
text: { xtype: "richtext", name: "./text", hideLabel: true,
jcr:primaryType: "cq:Widget",
rtePlugins: {
jcr:primaryType: "nt:unstructured",
format: {
features: [ "italic", "underline" ],
jcr:primaryType: "nt:unstructured"
}
}
},
你试过了吗?出了什么问题?