Skip to content

Commit b57569c

Browse files
committed
style: Format existing code
1 parent 6bf39db commit b57569c

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

docs/physical-device-setup.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,26 @@ When running the demo app on a physical device, the device needs to access the d
1212

1313
## Prerequisites
1414

15-
- Your physical device and development machine must be on the same network
16-
- The development server must be running (`make dev-server`)
17-
- You need to know your development machine's IP address
15+
- Your physical device and development machine must be on the same network
16+
- The development server must be running (`make dev-server`)
17+
- You need to know your development machine's IP address
1818

1919
### Finding Your Development Machine's IP Address
2020

2121
**macOS:**
22+
2223
```bash
2324
ipconfig getifaddr en0
2425
```
2526

2627
**Linux:**
28+
2729
```bash
2830
hostname -I | awk '{print $1}'
2931
```
3032

3133
**Windows:**
34+
3235
```bash
3336
ipconfig
3437
```
@@ -42,7 +45,7 @@ Look for your local network IP address (typically in the format `192.168.x.x` or
4245
3. Select the `Gutenberg` target.
4346
4. Navigate to _Product__Scheme__Edit Scheme_.
4447
5. Add an environment variable named `GUTENBERG_EDITOR_URL` with your development machine's IP address and port.
45-
- Example: `http://192.168.1.100:5173/`
48+
- Example: `http://192.168.1.100:5173/`
4649
6. Connect your iOS device via USB or network.
4750
7. Select your device as the run destination in Xcode.
4851
8. Run the app.
@@ -57,7 +60,7 @@ Look for your local network IP address (typically in the format `192.168.x.x` or
5760
1. Start the development server by running `make dev-server`.
5861
2. Launch Android Studio and open the `android` project.
5962
3. Modify the `android/local.properties` file to include an environment variable named `GUTENBERG_EDITOR_URL` with your development machine's IP address and port.
60-
- Example: `GUTENBERG_EDITOR_URL=http://192.168.1.100:5173/`
63+
- Example: `GUTENBERG_EDITOR_URL=http://192.168.1.100:5173/`
6164

6265
### 2. Modify Network Security Configuration
6366

@@ -90,19 +93,20 @@ Android requires explicit network security configuration to allow cleartext (htt
9093

9194
### Cannot Connect to Development Server
9295

93-
- Verify both devices are on the same network
94-
- Check your firewall settings to ensure port 5173 (or your Vite dev server port) is accessible
95-
- Confirm the development server is running and accessible from your machine's browser
96+
- Verify both devices are on the same network
97+
- Check your firewall settings to ensure port 5173 (or your Vite dev server port) is accessible
98+
- Confirm the development server is running and accessible from your machine's browser
9699

97100
### Android Network Security Errors
98101

99102
If you see network security or cleartext traffic errors:
100-
- Verify you've added your IP address to `network_security_config.xml`
101-
- Confirm the IP address matches your development machine's current IP
102-
- Clean and rebuild the Android project
103+
104+
- Verify you've added your IP address to `network_security_config.xml`
105+
- Confirm the IP address matches your development machine's current IP
106+
- Clean and rebuild the Android project
103107

104108
### iOS Connection Refused
105109

106-
- Verify the URL includes the correct protocol (`http://`)
107-
- Check that your iOS device is on the same network as your development machine
108-
- Ensure no VPN or network restrictions are blocking the connection
110+
- Verify the URL includes the correct protocol (`http://`)
111+
- Check that your iOS device is on the same network as your development machine
112+
- Ensure no VPN or network restrictions are blocking the connection

src/components/editor-toolbar/style.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ $min-touch-target-size: 46px;
8585
height: 32px;
8686
display: block;
8787
}
88-
}
88+
}

0 commit comments

Comments
 (0)