Skip to main content

Summary

Set or clear the multiline attribute on a plain-text content control.
  • Operation ID: contentControls.text.setMultiline
  • API member path: editor.doc.contentControls.text.setMultiline(...)
  • Mutates document: yes
  • Idempotency: conditional
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a ContentControlMutationResult; reports NO_OP if unchanged.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • AMBIGUOUS_TARGET
  • INVALID_INPUT
  • LOCK_VIOLATION
  • REVISION_MISMATCH
  • CAPABILITY_UNAVAILABLE
  • TYPE_MISMATCH

Non-applied failure codes

  • NO_OP

Raw schemas