Taro-ParserRichText icon indicating copy to clipboard operation
Taro-ParserRichText copied to clipboard

适用于 Taro 的小程序富文本组件

Results 7 Taro-ParserRichText issues
Sort by recently updated
recently updated
newest added

类型“JSX.IntrinsicElements”上不存在属性“parser”

- 功能缺失 如果使用时发现功能与 [原仓库](https://github.com/jin-yufeng/Parser) 文档描述的功能不符,一般是由于这里的版本较老,后续添加的功能不支持,可以用 [parser](https://github.com/jin-yufeng/Parser/tree/master/parser) 文件夹中的内容替换 `/PaserRichText/Parser` 中的内容(一些新属性可能还要添加到 [parserRichText.tsx](https://github.com/xPixv/Taro-ParserRichText/blob/master/ParserRichText/parserRichText.tsx))或参考 [文档](http://localhost:3000/#/instructions?id=%e5%9c%a8-taro-%e4%b8%ad%e4%bd%bf%e7%94%a8) 直接引入 - 文件缺失 编译时报警告 `emoji.js` 和 `document.js` 不存在的问题,这两个文件是 [扩展包](http://localhost:3000/#/instructions?id=%e6%89%a9%e5%b1%95%e5%8c%85),非必要的,在源代码中也是通过 `try` 引入的,因此忽略即可,不影响使用;介意的话可以在源代码中直接删去引入的代码 - wxs 缺失 编译时报 `wxs` 文件不存在的问题,原因和方法见 [用法](https://github.com/xPixv/Taro-ParserRichText#%E7%94%A8%E6%B3%95) 第...

![image](https://user-images.githubusercontent.com/31301552/73951683-da702400-4938-11ea-9e36-1adc9d2088dc.png) 如图,资源缺失是不是修改的时候误删了?

编译到这里就报错了

这是解析的字符串片段, `这是测试功能的,可删除这是测试功能的,可删除2342` 这是解析的结果 ![image](https://user-images.githubusercontent.com/31099607/70885840-fa5c2900-2014-11ea-8dd2-22148d9bf15b.png) 似乎是吧标签解析成了类名,把字符串里面的类名给替换了