text
Edit Inkscape document strings in one undoable batch, including substring swaps that keep mixed formatting like bold and superscript.
Instructions
Change text in ONE undoable batch. edits: [{"id": text id, "text": "new text; \n for new lines"}] keeps the first run's style. replace: [{"old": "…", "new": "…", "ids": optional scope}] swaps a substring inside existing runs, preserving mixed formatting (bold words, superscripts).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show | No | ||
| edits | No | ||
| replace | No | ||
| expected_revision | No |