小程序editor编辑器封装成组件和使用方法
[ 2022-12-04 10:21:44 | 作者: admin ]
官方editor(富文本编辑器,可以对图片、文字进行编辑):https://developers.weixin.qq.com/miniprogram/dev/component/editor.html
第三方封装的一个editor组件
下载地址:https://github.com/jxh1997/Editor
作者博客:https://blog.csdn.net/XH_jing/article/details/115509316
如果使用出错可以改写组件中的edirot ready函数
阅读全文…
第三方封装的一个editor组件
下载地址:https://github.com/jxh1997/Editor
作者博客:https://blog.csdn.net/XH_jing/article/details/115509316
如果使用出错可以改写组件中的edirot ready函数
onEditorReady() {
let _this=this;
console.log('编辑器组件初始化完成时触发');
// 返回一个 SelectorQuery 对象实例。在自定义组件或包含自定义组件的页面
...let _this=this;
console.log('编辑器组件初始化完成时触发');
// 返回一个 SelectorQuery 对象实例。在自定义组件或包含自定义组件的页面
阅读全文…
1