我是SAP Hybris的新手。我有一个场景,我需要在hmc中将产品描述从富文本编辑器更改为普通文本编辑器。默认情况下,我们可以在hmc中看到description字段的富文本编辑器
发布于 2016-05-24 21:41:51
尝试替换
<section name="product.descriptions">
<listlayout>
<attribute name="description">
<wysiwygeditor/>
</attribute>
<attribute name="unit"/>
</listlayout>
</section>至
<section name="product.descriptions" mode="replace">
<listlayout>
<attribute name="description"/>
<attribute name="unit"/>
</listlayout>
</section>在核心扩展hmc.xml中
只需删除<wysiwygeditor/>,也可以使用普通的<textareaeditor/>。
例如: yourcoreextension -> hmc -> -> hmc.xml
将此配置放入->
<type name="Product" mode="append">
<organizer>
<editor mode="append">
<tab name="tab.product.properties" position="1" mode="append">
<section name="product.descriptions" mode="replace">
<listlayout>
<attribute name="description"/>
<attribute name="unit"/>
</listlayout>
</section>
</tab>
</editor>
</organizer>
</type> https://stackoverflow.com/questions/37405898
复制相似问题