asp.net中使用kindeditor在线编辑器
来源:互联网 发布:内部股票交易软件 编辑:程序博客网 时间:2024/06/11 22:41
先从kindeditor官方网站下载kindeditor编辑器,解压后去掉其他语言的文件夹。
在aspx页面代码如下:
<asp:TextBox ID="CategoryContent" TextMode="MultiLine" runat="server" style="width:850px;height:400px" />这里是编辑器的内容。
<script charset="utf-8" src="../kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="../kindeditor/lang/zh_CN.js"></script>
<script>
var editor;
KindEditor.ready(function (K) {
editor = K.create('textarea[name="CategoryContent"]', {
resizeType: 1,
allowPreviewEmoticons: false,
uploadJson: '/kindeditor/asp.net/upload_json.ashx',
fileManagerJson: '/kindeditor/asp.net/file_manager_json.ashx',
allowFileManager: true
});
});
</script>
uploadJson是编辑器的上传图片控件,fileManagerJson是其他文件的上传控件,不用上传文件可以不要这个。
- asp.net中使用kindeditor在线编辑器
- KindEditor在线HTML文本编辑器在asp.net中的使用
- 在asp.net中KindEditor编辑器的使用总结
- asp.net使用kindeditor网页编辑器
- asp.net MVC使用kindeditor编辑器
- 编辑器kindeditor 在Asp.net中的使用
- asp.net 文本编辑器kindeditor的使用
- asp.net mvc4 使用KindEditor文本编辑器
- asp.net mvc4 使用KindEditor文本编辑器
- asp.net mvc4 使用KindEditor文本编辑器
- KindEditor .net 在线HTML编辑器
- 如何在.NET程序中引用KindEditor(HTML在线编辑器)
- KindEditor在线文本编辑器使用
- 在ASP.NET Core中使用百度在线编辑器UEditor
- 在ASP.NET Core中使用百度在线编辑器UEditor
- ASP.NET网站使用Kindeditor富文本编辑器步骤
- 在线编辑器的使用总结(kindeditor , )
- 国产网页在线编辑器kindeditor的使用
- Google Java编码风格
- 中国宋代以后地图
- dataguard基础
- Leetcode Combination Sum II
- Vim中自动加载cscope.out
- asp.net中使用kindeditor在线编辑器
- OCP-1Z0-053-200题-23题-604
- 你的WEP网络很安全?5分钟破解给你看
- UML—包图
- JBPM4.4流程数据结构
- django学习记录-控制表单错误
- iOS 定时发本地push 实现
- Visual Studio Tricks
- OSPF的LSA类型