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
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,9 @@ You can edit text, drag and drop elements, change images and links, inspect elem
15
15
16
16
**Edit Mode** also has all the capabilities of **Highlight Mode**, such as moving your cursor in the editor when an element is clicked, and highlighting the corresponding element in Live Preview. It also works in reverse: moving your cursor in the editor highlights the corresponding element in Live Preview.
17
17
18
-
<!-- TODO: @devansh we can have a video here showing the features... -->
@@ -225,7 +231,9 @@ These shortcuts work for all Edit Mode operations, including text edits, element
225
231
226
232
A **Quick Preview Toggle** button is available at the top center of the Live Preview. It lets you quickly switch to Preview Mode and back to the previously selected mode (Highlight Mode or Edit Mode). This is especially useful when working with a popped-out Live Preview window. You can also use the `F8` keyboard shortcut to toggle Preview Mode.
227
233
228
-
<!-- TODO: @devansh add a video showing its workflow -->
The button is partially visible as a thin strip at the top edge of the Live Preview. Moving your cursor over this strip reveals the full button, which you can click to toggle Preview Mode.
231
239
@@ -246,5 +254,8 @@ Add the `phcode-no-lp-edit` class to any element you want to behave normally:
246
254
When an element has this class, the element behaves as if you're in Preview Mode.
247
255
> This also applies to all child elements inside the marked element.
248
256
257
+
If you want only to exclude the particular element and not its children, use the class `phcode-no-lp-edit-this`.
258
+
249
259
> Placing your cursor on the element in the source code will still select it in Live Preview and allow you to use edit features.
0 commit comments