FCKeditor的使用
先要下载好fckeditor然后copy到程序中
?
然后在程序中引入<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> <head> <title>input.html</title> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="this is my page"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <!--<link rel="stylesheet" type="text/css" href="./styles.css">--> </head> <body> <script src="/fckeditordemo/fckeditor/fckeditor.js"></script>请输入内容: <br> <form name="form3" id="form3" method="post" action="/fckeditordemo/servlet/addContent"> <input type="text" name="title"> <script> var editor = new FCKeditor('editor1'); editor.BasePath='/fckeditordemo/fckeditor/'; editor.Height=200; editor.ToolbarSet='Default'; editor.Create(); </script> <input type="submit" value="提交"> </form> </body></html>?