Asp.net MVC中使用KindEditor上传本地图片的注意事项
来源:互联网 发布:开淘宝衣服货源怎么找 编辑:程序博客网 时间:2024/06/16 09:25
js脚本如下:
<link href="~/Scripts/kindeditor-4.1.3/themes/default/default.css" rel="stylesheet" /> <link href="~/Scripts/kindeditor-4.1.3/plugins/code/prettify.css" rel="stylesheet" /> <script type="text/javascript" src="~/Scripts/kindeditor-4.1.3/kindeditor-all-min.js"></script> <script type="text/javascript" src="~/Scripts/kindeditor-4.1.3/lang/zh-CN.js"></script> <script type="text/javascript" src="~/Scripts/kindeditor-4.1.3/plugins/code/prettify.js"></script> <script> KindEditor.ready(function (K) { var editor = K.create('#txtContent', { uploadJson: '../../../Scripts/kindeditor-4.1.3/asp.net/upload_json.ashx', fileManagerJson: '../../../Scripts/kindeditor-4.1.3/asp.net/file_manager_json.ashx', allowFileManager: true, items: ['source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/', 'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'multiimage', 'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak', 'anchor', 'link', 'unlink', '|', 'about' ], themeType: 'simple' }); }); </script> }
html:
<textarea id="txtContent" name="AddNewsContent" style="width: 670px; height: 300px; visibility: hidden;"></textarea>
0 0
- Asp.net MVC中使用KindEditor上传本地图片的注意事项
- kindeditor中(文件的上传)与(图片上传缩放),整合(asp.net)
- .net mvc4 利用 kindeditor 上传本地图片
- kindeditor 在jsp中,无法上传本地图片的解决
- c# asp.net 使用kindeditor在服务器上不能显示上传图片的页面等解决办法
- KindEditor上传本地图片
- KindEditor图片上传Asp.net代码
- Asp.net MVC中上传图片
- kindeditor上传本地图片的问题
- asp.net MVC使用kindeditor编辑器
- 项目中使用 kindeditor 的图片上传功能
- Spring中使用kindeditor上传图片时遇到的问题
- ASP.NET MVC 图片上传
- 使用Kindeditor上传图片
- Asp.net MVC3 文本编辑器KindEditor使用及图片上传浏览
- Asp.net MVC3 文本编辑器KindEditor使用及图片上传浏览
- kindeditor在asp.net中如何使用的总结
- kindeditor在asp.net中如何使用的总结
- VirtualBox: Failed to open a session for the virtual machine……
- string 类型详解
- bash基础特性及常用命令
- 杭电-1869 六度分离(Floyd&&dijkstra)
- Android中欢迎界面背景图片放大效果
- Asp.net MVC中使用KindEditor上传本地图片的注意事项
- js号码邮箱手机号验证以及身份证
- PyQt5教程-18-窗口分隔
- house robber follow up
- 腾讯2016研发工程师编程题微信红包
- java web开发在web.xml配置<mime-mapping>实现浏览器根据文件类型自动打开
- lua(3)-string字符串&math数学库
- 占位
- Json 转Java对象时,遇到Key值首字母大写无法转换问题