Skip to content

Commit 1023087

Browse files
committed
add customizing editor page
1 parent f7f0f79 commit 1023087

File tree

7 files changed

+33
-32
lines changed

7 files changed

+33
-32
lines changed

docs/customizing-editor.md

+28-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
11
---
22
sidebar_position: 3
33
---
4-
# Customizing the editor
4+
5+
import ThemedImage from '../src/components/ThemedImage';
6+
7+
# Customizing the editor
8+
9+
You can customize editor settings in the `View` menu.
10+
11+
<ThemedImage lightImageSrc={require("./img/light/menu-view.png").default} darkImageSrc={require("./img/dark/menu-view.png").default} alt="New File" />
12+
13+
## Settings
14+
15+
| Setting | Description | Shortcut |
16+
| --- | --- | --- |
17+
| Menubar | Toggle the menubar (header section containing diagram name and menus) | N/A |
18+
| Sidebar | Toggle the sidebar (panel to the right) | N/A |
19+
| Issues | Toggle the issues section in the sidebar | N/A |
20+
| Strict mode | Disable error checking | Ctrl+Shift+M |
21+
| Presentation mode | Enter presentation mode | N/A |
22+
| Field details | Disable showing pop ups when you hover over tables | Ctrl+Shift+F |
23+
| Reset view | Set the canvas cooridantes and zoom to default | Ctrl+R |
24+
| Show grid | Toggle the canvas grid | Ctrl+Shift+G |
25+
| Show cardinality | Toggle showing cardinality labels(1, n) for relationships | N/A |
26+
| Show relationship labels | Toggle showing relationship names on the diagram | N/A |
27+
| Show debug coordinates | Display debug coordinate information | N/A |
28+
| Theme | Set the editor theme to dark or light | N/A |
29+
| Zoom in | Set editor zoom | Ctrl+(Wheel/Up) |
30+
| Zoom out | Set editor zoom | Ctrl+(Wheel/Down) |
31+
| Fullscreen | Enter fullscreen | N/A |

docs/how-it-works.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
sidebar_position: 7
2+
sidebar_position: 8
33
---
44
# How it works

docs/img/dark/menu-view.png

198 KB
Loading

docs/img/light/menu-view.png

203 KB
Loading

docs/shortcuts.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
sidebar_position: 7
3+
---
4+
# Keyboard shortcuts

src/pages/index.module.css

-23
This file was deleted.

src/pages/markdown-page.md

-7
This file was deleted.

0 commit comments

Comments
 (0)