2016-05-24 44 views

回答

1

嘗試更換

<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>