Skip to content

API reference / Common / Engine types / TextCharacterPropertyKey

Type Alias: TextCharacterPropertyKey ​

ts
type TextCharacterPropertyKey = 
  | "bold"
  | "boldComplex"
  | "italic"
  | "italicComplex"
  | "size"
  | "sizeComplex"
  | "fontLatin"
  | "fontEastAsian"
  | "fontComplex"
  | "fontSymbol"
  | "letterSpacing"
  | "kerning"
  | "ligatures"
  | "widthScale"
  | "fitTextWidth"
  | "normalizeHeight"
  | "fill"
  | "highlight"
  | "shading"
  | "underline"
  | "strike"
  | "doubleStrike"
  | "outline"
  | "shadow"
  | "condense"
  | "extend"
  | "effects"
  | "caps"
  | "smallCaps"
  | "emphasis"
  | "baselineAlign"
  | "baselineOffset"
  | "styleRef"
  | "eastAsianLayout"
  | "language"
  | "rtl"
  | "noProof"
  | "hidden"
  | "border"
  | "hyperlink";

A [TextCharacterProperties] property, named without its value — the sort / lookup / clear identity, the [TextCharacterProperty::key] projection, and the key the ClearCharacterProperties operation and the Loro marks carry. One variant per property, in the property order the sparse set sorts by.