You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/07-Pro Features/01-live-preview-edit.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ The left side of the Control Box displays information about the selected element
46
46
47
47
<!-- Add an image here showing the info section of the Control Box with tag name, ID, dimensions, and classes -->
48
48
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.
50
50
51
51
### Select Parent
52
52
@@ -121,6 +121,27 @@ See [Editing Preferences](../editing-text#editing-preferences) to learn how to e
121
121
122
122
---
123
123
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
+
124
145
## Inline Text Editing
125
146
126
147
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