WeChat Mini Programs uses rich-text and wxparse to parse the difference between rich text

Mini Program comes with a rich-text component, but what"s the difference between seeing that some people introduce wxparse to parse rich text? Isn"t it more convenient to bring your own rich-text? Or does rich-text have many shortcomings?


rich-text has a limited string form, officials say it is not efficient, and array mode is troublesome, who knows who uses it.
wxparse supports a little more, but I personally think it's a little stuttered, maybe I didn't transfer it well.

but only part of it can be parsed, and many requirements can't be done either.


wxparse is probably one more step than rich-text, which is to turn nodes into template, so that you can add events to the node, but not rich-text.
for example, rich text rendered with wxparse can be clicked to view large images, but rich-text can't do it.

but neither of them works. I used it. I passed by.
wxparse has a large image, then it is very stuck. If the page is jammed,
rich-text can be converted into nodes, although you can use some plug-ins on the Internet, but the requirements are too high. You have encountered inline style double quotation marks that are not paired before, and then you will report an error that cannot be rendered, but there will be no error on the web, only the style will not take effect.

I think it's better to use web-view if you can.

Menu