RichTextUtils¶
Overview¶
Utilities and globals to support RichText
@author Jonathan Olson <jonathan.olson@colorado.edu>
Type HimalayaAttribute¶
Types for Himalaya
- key: string
- value?: string
Type HimalayaElementNode¶
- type: "element"
- tagName: string
- children: HimalayaNode[]
- attributes: HimalayaAttribute[]
- innerContent?: string
- & HimalayaNode
Type HimalayaNode¶
- type: "element" | "comment" | "text"
- innerContent: string
Type HimalayaTextNode¶
- type: "text"
- content: string
- & HimalayaNode
Source Code¶
See the source for RichTextUtils.ts in the scenery repository.