Skip to content

RichTextUtils

Overview

Utilities and globals to support RichText

@author Jonathan Olson <jonathan.olson@colorado.edu>

Type HimalayaAttribute

Types for Himalaya

import type { HimalayaAttribute } from 'scenerystack/scenery';
  • key: string
  • value?: string

Type HimalayaElementNode

import type { HimalayaElementNode } from 'scenerystack/scenery';

Type HimalayaNode

import type { HimalayaNode } from 'scenerystack/scenery';
  • type: "element" | "comment" | "text"
  • innerContent: string

Type HimalayaTextNode

import type { HimalayaTextNode } from 'scenerystack/scenery';

Source Code

See the source for RichTextUtils.ts in the scenery repository.