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
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,8 @@ import React from 'react';
6
6
import VideoPlayer from '@site/src/components/Video/player';
7
7
8
8
**Edit Mode** turns the Live Preview interface into a full-fledged editing environment. It lets you modify elements directly in the preview.
9
-
You can edit text, drag and drop elements, change images and links, inspect elements with precise measurements, and a lot more, right in the Live Preview. **Phoenix Code** automatically updates the source code.
9
+
You can edit text, drag and drop elements, change images and links, inspect elements with precise measurements, and a lot more, right in the Live Preview.
10
+
**Phoenix Code** automatically updates the source code.
10
11
11
12
**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.
12
13
@@ -24,8 +25,7 @@ Alternatively, you can switch to Edit Mode by updating the `livePreviewMode` set
24
25
25
26
## Info Box
26
27
27
-
The **Info Box** displays information about an element. It is normally shown at the top-left of the element, but if there is not enough space, Phoenix Code may display it on another side where sufficient space is available. Phoenix Code attempts to position the Info Box as close to the element as possible while keeping it visible.
28
-
28
+
The **Info Box** displays information about an element.
29
29
> By default, the Info Box appears when you hover over an element in the Live Preview, but this behavior can be changed. See the [Edit Highlights on Hover](#edit-highlights-on-hover) section for more details.
30
30
31
31
<!-- TODO: add image showing Info Box -->
@@ -46,8 +46,7 @@ The Info Box normally has a *blue* background for standard HTML elements (for ex
46
46
47
47
## Tool Box
48
48
49
-
The **Tool Box** displays a set of tools you can use to modify elements in the Live Preview. It is normally shown at the top-right of the Live Preview, but Phoenix Code may adjust its position if there is not enough space, ensuring it remains visible.
50
-
49
+
The **Tool Box** displays a set of tools you can use to modify elements in the Live Preview.
51
50
> The Tool Box appears only when you click an element or select it through the source code.
52
51
53
52
<!-- TODO: add image showing Tool Box -->
@@ -200,8 +199,6 @@ To change the saved folder later, click the **Folder Selection** button *(folder
200
199
201
200
The **Show Measurements** feature displays ruler lines extending from the edges of a selected element to the edges of the Live Preview document, with labels showing exact pixel positions. This helps you position elements more accurately.
202
201
203
-
By default, the labels appear at the top for the vertical axis and on the left for the horizontal axis. If there is not enough space, they are displayed at the bottom for the vertical axis and on the right for the horizontal axis.
0 commit comments