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/02-Live Preview/02-live-preview-edit.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ When you click an element in the Live Preview, a **Control Box** appears near it
61
61
### Element Info
62
62
63
63
The left side of the Control Box displays information about the selected element:
64
+
64
65
-**Tag name**: The element type (for example, `div`, `p`, `img`)
65
66
-**ID**: The element’s ID attribute (if present), shown with a `#` prefix
66
67
-**Dimensions**: The element’s size in pixels (width × height)
@@ -200,13 +201,15 @@ When you start editing text, a **Formatting Toolbar** appears near the element.
200
201
Select the text you want to format and click a formatting button, or use the keyboard shortcut. If no text is selected, the formatting is applied to the entire element. Clicking a format that is already applied removes it.
201
202
202
203
The toolbar shows three primary formatting buttons:
204
+
203
205
-**Bold** (`Ctrl/Cmd + B`): `<b>` tag
204
206
-**Italic** (`Ctrl/Cmd + I`): `<i>` tag
205
207
-**Underline** (`Ctrl/Cmd + U`): `<u>` tag
206
208
207
209
#### More Formatting Options
208
210
209
211
Click the **More** button *(three-dots icon)* on the right side of the toolbar to see additional formatting options:
212
+
210
213
-**Strikethrough**: `<s>` tag
211
214
-**Subscript**: `<sub>` tag
212
215
-**Superscript**: `<sup>` tag
@@ -224,11 +227,12 @@ To drag an element: click and hold the element, then move your mouse to the desi
Copy file name to clipboardExpand all lines: docs/02-Live Preview/03-styles-bar.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ You can move the bar to the top of the Live Preview using the **dock button** at
23
23
Phoenix Code gives you control to choose where you want to save your edits. By default, all the changes are saved directly on the element as an inline style. If you want to save the changes in one of the CSS rules, you can click on the **Save changes to** button:
24
24
<!-- TODO: PLUTO - add image here showing the save changes to button -->
25
25
26
-
It shows all the available selectors for that element. Select the one you want, and all the changes made to that element will automatically get saved in that selector.
26
+
It shows all the available selectors for that element. Select the one you want, and all the changes made to that element will automatically get saved in that selector.
27
27
> Each selector also shows the number of elements it affects on the page.
28
28
29
29
<!-- TODO: PLUTO - add image here showing the affects x elements -->
@@ -183,4 +183,3 @@ You can also undo any Styles Bar edit with `Ctrl/Cmd + Z`, like every other Edit
183
183
## Hiding the Styles Bar
184
184
185
185
To hide the bar, open the **More Options** menu *(three-dots icon)* in the Control Box and unselect **Show Styles Bar**. While hidden, a **palette icon** appears in the Control Box tools to bring it back.
Copy file name to clipboardExpand all lines: docs/02-Live Preview/04-device-preview.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,5 +44,3 @@ While you drag the edge of the Live Preview panel, a ruler appears across the to
44
44
45
45
In [Design Mode](./live-preview-edit), the Live Preview takes over the full window. In that case, you'll see resize handles directly on the page: drag the left or right handle to change the **width**, or drag the bottom handle to change the **height**. The same ruler appears, and the label now shows both dimensions, like `iPad Mini — 768px × 1024px`.
46
46
In Design Mode, a **Fit to screen** option is also available in the device dropdown. This resizes the page to fit the available space in the Live Preview.
Copy file name to clipboardExpand all lines: docs/02-Live Preview/05-measurements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,5 +22,5 @@ While in [Edit Mode](./live-preview-edit), click the dropdown arrow next to the
22
22
23
23
Alternatively, you can enable measurements from the **More Options** menu *(three-dots icon)* in the Control Box. Select **Show Measurements** to toggle it on or off.
24
24
25
-
You can also change this setting by updating the `livePreviewShowMeasurements` preference in the preferences file. Set it to `true` or `false` (default).
25
+
You can also change this setting by updating the `livePreviewShowMeasurements` preference in the preferences file. Set it to `true` or `false` (default).
26
26
See [Editing Preferences](../editing-text#editing-preferences) to learn how to edit the preferences file.
Copy file name to clipboardExpand all lines: docs/02-Live Preview/06-image-gallery.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ To download the image to your project instead, click the **Download image** butt
33
33
34
34
> If this is your first time selecting an image, Phoenix Code prompts you to choose a folder where images should be saved. See [Folder Selection Dialog](#folder-selection-dialog) for details.
35
35
36
-
> Images are embedded or downloaded at the currently selected size. See [Image Size Selection](#image-size-selection) for details.
36
+
> Images are embedded or downloaded at the currently selected size. See [Image Size Selection](#image-size-selection) for details.
37
37
38
38
Below each thumbnail, the photographer's name and a link to their profile is displayed.
39
39
@@ -53,6 +53,7 @@ If no folder has been selected yet, Phoenix Code prompts you to choose where the
53
53
The first time you select an image, Phoenix Code prompts you to choose where images should be saved in your project.
54
54
55
55
The dialog includes:
56
+
56
57
-**Folder path input**: Enter a folder path relative to your project root. Phoenix Code suggests matching folders as you type.
57
58
-**Remember this folder for this project**: When checked (default), Phoenix Code reuses this folder for future image downloads in the same project.
58
59
@@ -72,13 +73,14 @@ Hovering over a thumbnail displays the estimated file size in the top-left corne
72
73
> Higher resolutions produce larger image files. Standard (1080px) is the default size.
@@ -31,11 +32,11 @@ Within the Live Preview Settings dialog, you can configure the following options
31
32
32
33
-**Use Custom Development Server for This Project**: Enable this option to use your custom server for the live preview.
33
34
34
-
-**Server URL**: Enter the full URL where your server is running, including the port number (e.g., `http://localhost:8000`).
35
+
-**Server URL**: Enter the full URL where your server is running, including the port number (e.g., `http://localhost:8000`).
35
36
36
-
-**Serving Folder in Project**: Specify the path to the folder in your project that your server serves (e.g., `www/`, default is `/`, ie the full project is assumed to be served by the given server).
37
+
-**Serving Folder in Project**: Specify the path to the folder in your project that your server serves (e.g., `www/`, default is `/`, ie the full project is assumed to be served by the given server).
37
38
38
-
-**Server Framework**: Choose the framework or environment your server uses from the dropdown menu. If your server supports hot reloading, check the corresponding box to enable this feature. Currently 2 options are supported- [Docusaurus](https://docusaurus.io/) and `Custom`. Select `Custom` for all frameworks that are not `Docusaurus`.
39
+
-**Server Framework**: Choose the framework or environment your server uses from the dropdown menu. If your server supports hot reloading, check the corresponding box to enable this feature. Currently 2 options are supported- [Docusaurus](https://docusaurus.io/) and `Custom`. Select `Custom` for all frameworks that are not `Docusaurus`.
39
40
40
41
After configuring these settings, click 'Done' to save and apply your settings. The live preview will now use your custom server.
0 commit comments