Presumably everyone knows that the rich-text tag in the WeChat developer documentation cannot obtain the pictures inside and add click events to the pictures, so what should we do? |
---|
We can introduce a component. Parser can click on the picture in the rich text to make the picture appear in preview state.
Component download address: parser.min.zip
After downloading, just pull the file into the editor. Next,
you need to configure it in app.json. After the configuration is
completed, you can directly output it in html.
The following is the content in html
, and then the content in data in js.