First introduced in the page
<script type= "Text/javascript" charset= "Utf-8" src= "__public__/ueditor/ueditor.config.js" ></script>
<script type= "Text/javascript" charset= "Utf-8" src= "__public__/ueditor/ueditor.all.min.js" > </script>
<script type= "Text/javascript" charset= "Utf-8" src= "__public__/ueditor/lang/zh-cn/zh-cn.js" ></script>
<script type= "Text/javascript" charset= "Utf-8" src= "__public__/ueditor/btn_config.js" ></script>
Add a textarea with ID and name in table
<ul class= "FormInfo" style= "Display:none;" >
<li><label> Product Description </label><textarea style= "width:400px;height:200px;" id= "Goods_desc" Name= " Goods_desc "rows=" 6 "cols=" class= "dfinput"/></textarea><i>* please fill in the product description </i></li>
</ul>
Then write a JS
<script>
Ue.geteditor (' Goods_desc ', {
' Initialframewidth ': "1000",
' Initialframeheight ': "500",
});
</script>
Modify Editor picture upload default path
How to use the Baidu editor plugin