← All changes
|
modules/mcp/static-resources/abilities/build-composition.md
+2
-1
4.3.0-beta1
→
4.3.2
View file →
| @@ -79,9 +79,10 @@ | ||
| 79 | 79 | Match the widget schema shape: |
| 80 | 80 | - **string / enum / url**: plain string (`"h2"`, `"https://example.com"`) |
| 81 | 81 | - **number**: plain number (`42`) |
| 82 | 82 | - **boolean**: plain boolean (`true`) |
| 83 | -- **text** (`title` on `e-heading`, `paragraph` on `e-paragraph`, `text` on `e-button`): plain string (`"Welcome"`). Do NOT wrap in `{ content, children }`. | |
| 83 | +- **text** (`title` on `e-heading`, `paragraph` on `e-paragraph`, `text` on `e-button`): plain string (`"Welcome"`). May contain inline HTML tags for text styling. | |
| 84 | + - Example: `"paragraph": "<strong>Contact support</strong> for a <s>free</s> discounted quote — <em>limited time</em> only."` | |
| 84 | 85 | - **dynamic** (where schema allows): `{ "name": "<tag from elementor://dynamic-tags>", "settings": { ... } }` — settings use plain values per the tag schema; omit `group` |
| 85 | 86 | - **image**: two forms, `id` and `url` are mutually exclusive — send one, not both: |
| 86 | 87 | - Library asset (from `elementor/list-assets` tool): `{ "src": { "id": 123 }, "size": "full" }`. |
| 87 | 88 | - External URL: `{ "src": { "url": "https://example.com/photo.jpg" }, "size": "full" }` — works. If no library asset fits and no on-brand external image is available, tell the user which images to upload. |