Skip to content

Commit 4518f6d

Browse files
committed
feat: element properties section docs
1 parent 06ec2bd commit 4518f6d

1 file changed

Lines changed: 22 additions & 1 deletion

File tree

docs/07-Pro Features/01-live-preview-edit.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The left side of the Control Box displays information about the selected element
4646

4747
<!-- Add an image here showing the info section of the Control Box with tag name, ID, dimensions, and classes -->
4848

49-
Clicking on the info section opens the [Element Properties](#element-properties) editor, where you can edit the element’s tag name, classes, and ID.
49+
Clicking on the info section opens the [Element Properties](#edit-element-properties) editor, where you can edit the element’s tag name, classes, and ID.
5050

5151
### Select Parent
5252

@@ -121,6 +121,27 @@ See [Editing Preferences](../editing-text#editing-preferences) to learn how to e
121121

122122
---
123123

124+
## Edit Element Properties
125+
126+
The **Element Properties** panel lets you edit an element's tag name, ID, classes, and other HTML attributes directly from the Live Preview. All changes are synced to your source code in real-time, and code hints appear as you type to help you pick the right values.
127+
128+
To open the panel, click on the **info section** (the left side showing the tag name, ID, and dimensions) of the [Control Box](#control-box).
129+
130+
<!-- Add an image here showing the Element Properties panel with the tag, ID, classes, and attributes sections -->
131+
132+
The panel has four sections:
133+
134+
- **Tag**: Change the element type (for example, turn a `div` into a `section`). You can type directly or click the **dropdown arrow** to browse a list of common HTML tags.
135+
- **ID**: Change or remove the element's ID.
136+
- **Classes**: Existing classes are shown as chips with a **×** button to remove them. Click **+** to add new classes. You can type multiple class names separated by spaces.
137+
- **Attributes**: All other HTML attributes are shown as editable name-value pairs. Click **+** to add a new attribute, or **×** to remove one.
138+
139+
<!-- Add an image here showing the classes section with a few class chips and the add class input -->
140+
141+
To undo all changes made in the panel, click the **Reset** button in the panel header. This reverts the element to the state it was in when you first opened the panel.
142+
143+
---
144+
124145
## Inline Text Editing
125146

126147
The **Inline Text Editing** feature lets you modify text content directly in the Live Preview, with all changes automatically synced to the source code.

0 commit comments

Comments
 (0)