Skip to content

API reference / Common / Engine types / TextParagraphPropertyKey

Type Alias: TextParagraphPropertyKey ​

ts
type TextParagraphPropertyKey = 
  | "styleRef"
  | "level"
  | "outlineLevel"
  | "align"
  | "rtl"
  | "direction"
  | "fontAlign"
  | "indentLeft"
  | "indentRight"
  | "indentFirstLine"
  | "mirrorIndents"
  | "lineSpacing"
  | "spacingBefore"
  | "spacingAfter"
  | "contextualSpacing"
  | "tabStops"
  | "defaultTabSize"
  | "numbering"
  | "keepWithNext"
  | "keepLinesTogether"
  | "pageBreakBefore"
  | "widowOrphanControl"
  | "suppressLineNumbers"
  | "suppressAutoHyphens"
  | "borders"
  | "shading"
  | "lineBreakEastAsian"
  | "lineBreakLatin"
  | "hangingPunctuation"
  | "topLinePunctuation"
  | "autoSpaceLatin"
  | "autoSpaceNumeric"
  | "snapToGrid"
  | "defaultCharacterProperties";

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