kindEditor的使用 kindEditor怎么用于PHP的表单,具体的方法 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这种问题适合问gg 大叔.以下为复制粘帖KindEditor编辑器调用方法,这个编辑器可使用到任何语言中,他是一个纯js的编辑器,但它默认的编辑是utf-8如果是gb2312编辑的朋友就是KindEditor.js打开,重保存为gb2312就可以使用在gb2312文档中了,否则就是出现乱码.下面为说说kindeditor的调用方法吧,我们在先在需要使用该编辑中的文档中调用KindEditor.js,好了我们举个例子说明:<script type="text/javascript" src="KindEditor.js"></script>/这个在文档的头部了,<div style="font-size:12px;margin-bottom:5px;margin-left:5px;"> </div> <input type="hidden" name="content" > <script type="text/javascript"> var editor = new KindEditor("editor"); editor.hidenName = "content"; editor.skinPath = "./skins/tiny/";//设置皮肤的路径 editor.iconPath = "./icons/";//图片 editor.imageAttachPath = "./attached/";// editor.imageUploadCgi = "upload_cgi/upload.php"; editor.cssPath = "common.css"; editor.editorWidth = "99%"; editor.editorHeight = "270px"; editor.show(); function KindSubmit() { editor.data(); } </script> 上kindeditor的官网,多的是例子 求php+mysql写的图书馆管理系统源代码 怎么才能调用MYSQL单独字段? apache riwrite 问题 寻找一个Rwrite规则 关于正则表达式,高手请进 请问,怎么在Windows XP下配置PHP? 有没有人对dba函数库熟? Fatal error: Maximum execution time of 30 seconds exceeded 去哪里设置 请教融天下P2P系统是什么PHP框架开发的,谢谢 求大神指点这个504 大虾帮下小虾米。 aes加密java解密问题
以下为复制粘帖KindEditor编辑器调用方法,这个编辑器可使用到任何语言中,他是一个纯js的编辑器,但它默认的编辑是utf-8如果是gb2312编辑的朋友就是KindEditor.js打开,重保存为gb2312就可以使用在gb2312文档中了,否则就是出现乱码.
下面为说说kindeditor的调用方法吧,我们在先在需要使用该编辑中的文档中调用KindEditor.js,好了我们举个例子说明:
<script type="text/javascript" src="KindEditor.js"></script>/这个在文档的头部了,
<div style="font-size:12px;margin-bottom:5px;margin-left:5px;"> </div>
<input type="hidden" name="content" >
<script type="text/javascript">
var editor = new KindEditor("editor");
editor.hidenName = "content";
editor.skinPath = "./skins/tiny/";//设置皮肤的路径
editor.iconPath = "./icons/";//图片
editor.imageAttachPath = "./attached/";//
editor.imageUploadCgi = "upload_cgi/upload.php";
editor.cssPath = "common.css";
editor.editorWidth = "99%";
editor.editorHeight = "270px";
editor.show();
function KindSubmit() {
editor.data();
}
</script>