怎么都没人回答,😅
请问editor组件生成的html在非editor环境怎么用?看 editor 组件的官方文档:https://developers.weixin.qq.com/miniprogram/dev/component/editor.html 里面有说到: 需要注意的是,在其它组件或环境中使用富文本组件导出的 html 时,需要额外引入 这段样式,并维护<ql-container><ql-editor></ql-editor></ql-container>的结构。 但是,我在 scss 里import 了这段 editor.css 后,开发工具缺报错了: [图片] 但具体又不知道错在哪里,我的 wxml里面是这样写的: <view class="content"><ql-container><ql-editor>{{content_html}}</ql-editor></ql-container></view> 其中 content_html 就是 edtor 组件获取到的 html 字段内容, wxss用的是 scss 格式,这样引入: @import "../../styles/editor.scss"; 上面的 editor.scss 就是下载的 editor.css 内容,只是文件格式改成了 scss 格式。 请各位大大热心告知原因和解决方法?谢谢! PS:之所以要将 editor.css 转成 editor.scss ,是因为我的开发环境是:typescript + sass 。
2022-11-11没人回复?😭😭😭 -----哎,够冷的,发了2周多都没人理……😳😳😳
scroll-view在开启下拉刷新后的显示Bug问题重现的必要条件: 1、scroll-view开启了下拉刷新功能 2、scroll-view的scroll-y设为true 3、scroll-view内的直接子元素用了margin 表现截图如下: [图片] [图片] [图片]
2022-10-24