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: README.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,27 +30,53 @@ This plugin serves as the third plugin in the **Embed Series**, aiming to provid
30
30
-[x] Support export to PDF
31
31
-[x] Support for mobile devices
32
32
-[x] Support dark mode
33
+
-[x] Lightbox
33
34
34
35
> If you have additional feature requests or suggestions, feel free to [open an issue on GitHub](https://github.com/YuxinZhaozyx/siyuan-embed-drawio/issues) or [post in the SiYuan community](https://ld246.com/article/1762744532030) to request support for additional packages.
Type `/drawio` in the editor to create a new draw.io image.
44
52
45
-
**Edit a draw.io Image:**
53
+
**Edit a draw.io Image:**
54
+
46
55
Click the menu button in the top-right corner of the image. If the block is recognized as a valid draw.io image, an `Edit draw.io` option will appear. Click it to open the editor.
47
56
57
+
**Open draw.io Lightbox:**
58
+
59
+
Click the menu button in the top-right corner of the image. If the block is recognized as a valid draw.io image, an `draw.io lightbox` option will appear. Click it to open the lightbox.
60
+
48
61
**Migrating from other sources:**
62
+
49
63
+ Method 1: Simply export your diagram as an SVG from any draw.io platform with the "Include a copy of my diagram" option enabled, then drag the resulting SVG file into SiYuan.
50
64
+ Method 2: Copy all content from any draw.io platform, type `/drawio` in the editor, and paste the copied content into the pop-up draw.io window.
51
65
66
+
**Disable draw.io label:**
67
+
68
+
Add CSS Snippet:
69
+
70
+
```css
71
+
.protyle-attr.label--embed-drawio {
72
+
display: none!important;
73
+
}
74
+
```
75
+
52
76
## Changelog
53
77
78
+
+ v0.2.1
79
+
+ Feature: lightbox
54
80
+ v0.2.0
55
81
+ Feature: show draw.io image label and page counts
0 commit comments