百度UEditor部署问题
我下的是1.2.4.0.Net版本UTF-8版,<SCRIPTtype=text/javascriptsrc="ueditor/editor_config.js"></S...
我下的是1.2.4.0 .Net 版本UTF-8版,
<SCRIPT type=text/javascript src="ueditor/editor_config.js"></SCRIPT>
<SCRIPT type=text/javascript src="ueditor/editor_all.js"></SCRIPT>
<textarea id="txteditor" name="txteditor" runat="server" cols="20" rows="2">
<p>请输入商品介绍</p>
</textarea>
<script type="text/javascript">
var editor = new baidu.editor.ui.Editor();
editor.render('txteditor');
//1.2.4以后可以使用一下代码实例化编辑器UE.getEditor('txteditor')
</script>
路径也改了:URL = window.UEDITOR_HOME_URL||"/ueditor/";
但编辑器就是不出来……,只出现 textarea 展开
<SCRIPT type=text/javascript src="ueditor/editor_config.js"></SCRIPT>
<SCRIPT type=text/javascript src="ueditor/editor_all.js"></SCRIPT>
<textarea id="txteditor" name="txteditor" runat="server" cols="20" rows="2">
<p>请输入商品介绍</p>
</textarea>
<script type="text/javascript">
var editor = new baidu.editor.ui.Editor();
editor.render('txteditor');
//1.2.4以后可以使用一下代码实例化编辑器UE.getEditor('txteditor')
</script>
路径也改了:URL = window.UEDITOR_HOME_URL||"/ueditor/";
但编辑器就是不出来……,只出现 textarea 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询