ueditor使用问题
去百度官网下载了完整版的ueditor。把压缩包里的文件夹解压到本地服务器根目录(htdocs)下的ueditor文件夹里,然后在ueditor文件夹下放置一个文件(index.html)代码如下:
<!DOCTYPE html><br /> <html><br /> <head><br /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br /> <title>Leave a message</title><br /> <script type="text/javascript" src="editor_config.js"></script><br /> <script type="text/javascript" src="editor_all.js"></script><br /> </head><br /> <br /> <body><br /> <h1>Leave a message</h1><br /> <form id="form1" name="form1" method="post" action="/control/mess.php"><br /> <br /> <p><br /> <textarea name="key" id="myEditor"></textarea><br /> <script type="text/javascript"><br /> var editor = new UE.ui.Editor();<br /> editor.render("myEditor");<br /> </script><br /> </p><br /> <p><br /> <input type="submit" name="button" id="button" value="提交" /><br /> </p><br /> </form><br /> </body><br /> </html><br />
<script type="text/javascript" src="editor_config.js"></script><br /> <script type="text/javascript" src="editor_all.js"></script>
<script type="text/javascript" src="editor_config.js"></script><br /> <script type="text/javascript" src="editor_all.js"></script>
var URL