-
初步判断是因为setData异步原因导致的,请问有遇到过的同学吗 @icindy @felixonmars @shenqihui
-
页面在解析的时候出现的,内容是后台提供的,有个别内容会出现这个问题,求告知原因
-
由于原项目不再维护了,我这边重新对原来项目进行自定义Component重构,因为子组件标签外层会预先套上一层wxParse的父标签,造成个别css样式出现错乱,希望大家可以共同努力,一起维护下去。
这里我大概列举一下提issue流程:
1. 粘贴出现问题的html富文本
2. 提供最小范例的代码片段链接,我这边可以直接打开去复现
以上二者材料最好可以一起提供,这样我可以快速定位…
-
![2](https://user-images.githubusercontent.com/3723847/29309495-878e2d70-81dc-11e7-9e06-f3a505ff0900.png)
测试一篇文章地址:https://ms.ifuifu.com/index/detail/id/4808
另一篇微信的文章地址:https://mp.weixin.qq.com/s?…
-
我目前这个小项目富文本编辑后的内容可说乱七八糟啥都有,然后用上了过滤工具[`js-xss`](https://github.com/leizongmin/js-xss)就很好解决此类问题了。所以建议在官方文档上提及一下,对于一些了解不深的同学能一定程度上提高开发效率。
使用算是蛮简单的:
```
var xss = require('xss');
var whiteList = Obj…
-
很神奇的问题,ios和小米手机没问题,测了几款华为手机都会有滚动的现象;把这个属性注释了以后就没有这个问题了,请问这个是什么原因啊
-
解析不成功,不能生成小程序页面, 会抛错
WebHW updated
5 years ago
-
GitHub搜索"微信HTML",start量最高的就是这个项目。但质量实在不敢恭维。
粗略看了一下源码,就发现致命问题,作者压根就不理解什么是HTML实体转义,为什么要进行实体转义。可以前往[wxDiscode.js](https://github.com/icindy/wxParse/blob/master/wxParse/wxDiscode.js)观摩。
**&# 0000 ; …
-
IOS滑动有卡顿的现象。
观察了一下,因为wxParse是做为一块一块的来解析。我修改过字体大小,解析之后,小块出现滚动条。
是否有人出现这个问题。
测试Android的时候没有出现这样的情况。
-
用Taro在自己项目中使用过rich-text,发现微信小程序正常,支付宝小程序的rich-text显示有问题,本来想借鉴大佬的写法,结果看了源码发现商品详情全部为图片,还特地把img过滤出来,并没有使用rich-text,支付宝小程序的rich-text规定nodes只能接数组,使用它推荐的插件将字符串转换成数组发现导致其他错误,这个问题只能暂时搁置了,请好心人贡献demo