标签:ext name 编辑框 比较 大小 tor body rip ueditor
index.jsp主要代码:
<html> <head> <title>网页编辑器</title> <script type="text/javascript" charset="utf-8" src="./ueditor/ueditor.config.js"></script> <script type="text/javascript" charset="utf-8" src="./ueditor/ueditor.all.js"></script> <LINK rel=stylesheet href="ueditor/themes/default/ueditor.css">
<script> <span style="white-space:pre"> </span>window.UEDITOR_HOME_URL = "/ueditor03/ueditor"; </script>
</head> <body> <div align="center"> <textarea id="newsEditor" name="content"> </textarea> <br/> <script type="text/javascript"> var editor = new UE.ui.Editor({initialFrameHeight:1000,initialFrameWidth:1000 }); editor.render(‘newsEditor‘); /* UE.getEditor(‘newsEditor‘); 上面的代码是设置网页编辑器的宽和高的,也就是大小。没有要求的话直接引用备注里的代码就可以 */ </script> </div> </body> </html>
Ueditor百度网页编辑器开发者版java utf-8的使用
标签:ext name 编辑框 比较 大小 tor body rip ueditor
原文地址:http://www.cnblogs.com/15732115368zhm/p/6115769.html