How to Use the rich-text applet, the rich-text Applet
How to Use the rich-text Applet
Rich-text
- Attribute: nodes type: Array/String node list/HTML String
- Class and style attributes are supported globally, and id attributes are not supported.
- Node type: type = node. The name tag String supports some trusted HTML nodes. The attrs attribute Object does not support some trusted attributes and follows the Pascal naming method, children subnode list Array no structure consistent with nodes
- Node type: type = text, text String is entities supported
- The String type is not recommended for nodes, and performance will decrease.
- Events of all nodes are blocked in the rich-text component.
- The attrs attribute does not support id and class.
- The name attribute is case insensitive.
- If an untrusted HTML node is used, the node and all its child nodes will be removed.
- Img labels only support network images.
<rich-text nodes="{{nodes}}" /><rich-text nodes="{{nodes1}}" /><rich-text nodes="{{nodes2}}" />
This. setData ({nodes: "
The above is the introduction of the small program rich-text. If you have any questions, please leave a message or go to the community on this site for discussion. Thank you for reading this article and hope to help you. Thank you for your support for this site!