richtext package
Functions
<table><thead><tr><th>
Function
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
getRichTextTagsFromTextFormat(format)
</td><td>
Convert format bitflag for holding text formats into relevant tags
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
isRichTextNodeType(node, type)
</td><td>
</td></tr> <tr><td>
isRichTextNodeType(node, type)
</td><td>
</td></tr> <tr><td>
isRichTextNodeType(node, type)
</td><td>
</td></tr> <tr><td>
isRichTextNodeType(node, type)
</td><td>
</td></tr> <tr><td>
isRichTextNodeType(node, type)
</td><td>
</td></tr> <tr><td>
isRichTextNodeType(node, type)
</td><td>
</td></tr> <tr><td>
isRichTextNodeType(node, type)
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
isRichTextValueConsideredEmpty(value)
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
renderChildrenToHtml(children, context)
</td><td>
Render an array of RichTextNodes to a string based on a particular context.
This will often be called from within a NodeRenderer using the renderChildren
prop.
</td></tr> <tr><td>
renderChildrenToText(children, context)
</td><td>
Render an array of RichTextNodes to a string based on a particular context.
This will often be called from within a NodeRenderer using the renderChildren
prop.
</td></tr> <tr><td>
renderHtmlElement(tag, attributes, children)
</td><td>
</td></tr> <tr><td>
renderToHtml(node, parentContext)
</td><td>
Render a node and its children to HTML
This could be the root node or a nested node
</td></tr> <tr><td>
renderToText(node, parentContext)
</td><td>
Render a node and its children to text
This could be the root node or a nested node
</td></tr> </tbody></table>
Interfaces
<table><thead><tr><th>
Interface
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> </tbody></table>
Variables
<table><thead><tr><th>
Variable
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
When a custom renderer has not been provided we check to see if there is a renderer for the type within the map above. These are for any node types which include extra logic.
Some node types like quote just map directly to a HTML tag (ie blockquote). For those there is a simple type -> tag Map.
</td></tr> <tr><td>
</td><td>
When a custom renderer has not been provided we check to see if there is a renderer for the type within the map above. These are for any node types which include extra logic.
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> </tbody></table>
Type Aliases
<table><thead><tr><th>
Type Alias
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> <tr><td>
</td><td>
</td></tr> </tbody></table>