0
我是hybris的新手。我有場景,我需要將產品說明從富文本編輯器更改爲hmc中的普通文本編輯器。 默認我們可以看到在HMC的富文本編輯器描述字段如何將富文本編輯器更改爲hmc中的普通文本編輯器
我是hybris的新手。我有場景,我需要將產品說明從富文本編輯器更改爲hmc中的普通文本編輯器。 默認我們可以看到在HMC的富文本編輯器描述字段如何將富文本編輯器更改爲hmc中的普通文本編輯器
嘗試更換
<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
只是刪除或您可以使用正常<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>