kindeditor中插入图片
来源:互联网 发布:小学生画图软件ipad 编辑:程序博客网 时间:2024/05/17 21:38
1·首先下载kindeditor包,放在我们的项目目录下
kindeditor包下载
2·目录结构:
3·创建kindeditor实例时:
KindEditor.ready(function(K) { editor = K.create('#editor',{ width:'150px', height:'300px', items:[ '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', 'lineheight', 'removeformat', '|', 'image', 'multiimage', 'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak', 'anchor', 'link', 'unlink' ], /* 制定上传方法 */ uploadJson :'${pageContext.request.contextPath}/kindeditor/jsp/upload_json.jsp', /* 图片管理器的路径 */ fileManagerJson : '${pageContext.request.contextPath}/kindeditor/jsp/file_manager_json.jsp', allowFileManager : true, });}
4·点击图片时:
5·图片上传成功
0 0
- kindeditor中插入图片
- kindeditor使用-----插入图片报错解决
- kindeditor中LitJson图片上传方法
- kindeditor 在springmvc中上传图片
- KindEditor中上传图片不回显的问题
- JTable中插入图片
- Latex 中插入图片
- latex中插入图片
- 图片插入EditView中
- EditView中插入图片
- beamer中插入图片
- latex中插入图片
- EditText中插入图片
- latex中插入图片
- qt中插入图片
- Latex中插入图片
- richEdit中插入图片
- UIPickerView中插入图片
- poj 1611
- DB2_SQL监控
- 基数排序
- 更换C#的调试浏览器
- Postman简单安装
- kindeditor中插入图片
- 大家都在用流行编程语言Python做些什么?
- Nginx 作为静态文件服务器
- 编译Linux内核
- 讲故事,学(Java)设计模式—桥接模式
- struts2基本知识总结1
- java开发过程中遇到的问题
- 【二进制求反序】LeetCode初试验_Reverse Bits
- 使用taglist插件