Update element
editor_updateElementEdit one element identified by nodeId — replace its text, change its props, and/or reposition it in a single call. Call editor_getDocument first and copy nodeId from it — never guess or reuse an ID from an earlier conversation. content: replace the entire text of a paragraph/header/list-item/table-cell, etc. (whole-element replace, not a substring or document-wide replace; not valid on input/option shells). properties (partial — send only what changes): isHidden, isThankYouPage (page only — marks the post-submit thank-you page), required, titleIsHidden, label (renames an option, question-title, or question), maxStars (rating-input), min/max/minLabel/maxLabel (linear-scale-input), placeholder / defaultValue (text, email, phone, url, number — defaultValue null clears). moveTo: reposition instead of recreating — e.g. moveTo:{parentId:<columnId>,position:"last"} to move it into a column for a side-by-side layout, or moveTo:{after:<nodeId>} to place it right after another element. To set conditional logic rules on a logic element, use editor_setLogic instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | Yes | Form ID | |
| moveTo | No | Reposition (keeps id/content). | |
| nodeId | Yes | ||
| content | No | Replace the whole text of a paragraph/header/list-item/cell. Not a substring; not for input/option shells (rename a title via properties.label). | |
| properties | No |