Skip to main content

Summary

Set or clear the rFonts inline run property on the target text range.
  • Operation ID: format.rFonts
  • API member path: editor.doc.format.rFonts(...)
  • Mutates document: yes
  • Idempotency: conditional
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a TextMutationReceipt confirming the inline run property patch was applied to the target range.

Input fields

Variant 1 (target.kind=“selection”)

Variant 2 (required: ref, value)

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • CAPABILITY_UNAVAILABLE
  • INVALID_TARGET
  • INVALID_INPUT
  • STORY_NOT_FOUND
  • STORY_MISMATCH
  • STORY_NOT_SUPPORTED
  • CROSS_STORY_PLAN
  • MATERIALIZATION_FAILED

Non-applied failure codes

  • INVALID_TARGET

Raw schemas