一,引入js
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js"></script>
二,模板上加多个编辑器
<form method="post" action="" id="form1" enctype="multipart/form-data">
<table id="htmlTable" width="95%" align="center" cellpadding="1" cellspacing="1" bgcolor="#dee7ff" border="0">
<tr bgcolor="white">
<td class="sTitle4" align="right">
品牌故事:
</td>
<td class="rightItem">
<script type="text/plain" name="story" id="storyid" style="width:99.999%;"></script>
<script type="text/javascript">
var config = {zIndex:10,initialFrameHeight:480,autoHeightEnabled: false};
UE.getEditor('storyid',config);
</script>
</td>
</tr>
<tr bgcolor="white">
<td class="sTitle4" align="right">
发起团队:
</td>
<td class="rightItem">
<script type="text/plain" name="team" id="teamid" style="width:99.999%;"></script>
<script type="text/javascript">
var config = {zIndex:10,initialFrameHeight:480,autoHeightEnabled: false};
UE.getEditor('teamid',config);
</script>
</td>
</tr>
三,php后端接收值时,注意name字段的不同