【小程序专用】后台文本编辑器 AppEditor正式版
浏览:8550
最后更新:2019-08-06 18:59
分类:引擎
传统富文本编辑器不改变,我们来改变!!!
AppEditor(内测版) 自己小程序项目(weipin5s)已经运用
首创开源移动端模块编辑器,数据采用多维数组。
非富文本格式,敏捷传输与API接口。
是微信小程序与app不错的选择。
由于在是内测版,有小部分问题。也是在所难免,不会影响正常功能。
用户界面:
体验地址:
https://pinapp.github.io/appeditor-master
使用方法:1.页面引用 CSS 与 JS
<script src="jquery.min.js"></script>
<script charset="utf-8" src="appeditor.min.js"></script>
<link rel="stylesheet" href="appeditor.css">
2.页面容器
<div id="editor_id"></div>
3.初始化
var AppEdit = new AppEdit({
"el" : '#editor_id',
"name" : 'goods_detail',
'data' : "[{'text' : 12318498},{'image' : 'https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=643873983,4278247275&fm=58'},{'text' : 12318498}]"
});
4.方法说明AppEdit({"el": '元素选择器' ,'name': '表单input隐藏值','data' : 'jsonString'}) 构造器
AppEdit.uploadafter(url) 图片插件上传成功往编辑器插入内容 url是指 图片地址
5.下载链接:https://github.com/pinapp/pinapp.github.io
温馨提醒: 样式可以在外边自定义,不建议修改插件内样式。