Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议更改为新插件形式 #28

Open
entps opened this issue Sep 9, 2023 · 10 comments
Open

建议更改为新插件形式 #28

entps opened this issue Sep 9, 2023 · 10 comments

Comments

@entps
Copy link

entps commented Sep 9, 2023

drawio采用挂件形式直接嵌入文档页面中不太方便,要拖大框体,还有相关的菜单栏,看图很不方便,建议改成新插件的方式,类似于excalidraw插件,可以独立创建绘图和导出绘图,如下图:
iShot_2023-09-09_21 45 04

@Zuoqiu-Yingyi
Copy link
Owner

这种方案无法在移动端查看绘图

@entps
Copy link
Author

entps commented Sep 14, 2023

那能以SVG方式保存,在文档中只显示SVG图,编辑时调用 【插件】进行编辑,,,将挂件和插件配合使用,,,挂件用于扩展内空,,插件用于管理和编辑draw.io绘图

@Zuoqiu-Yingyi
Copy link
Owner

其实这个挂件可以直接用浏览器访问的,因此如果需要在页签中编辑,用 网页视图 插件访问即可

@LiangtaoZhong
Copy link

drawio采用挂件形式直接嵌入文档页面中不太方便,要拖大框体,还有相关的菜单栏,看图很不方便,建议改成新插件的方式,类似于excalidraw插件,可以独立创建绘图和导出绘图,如下图: iShot_2023-09-09_21 45 04

同意,太需要了

@Zuoqiu-Yingyi
Copy link
Owner

要不我添加一个配合 webview 插件在新页签中打开的功能?

@entps
Copy link
Author

entps commented Feb 22, 2024 via email

@winter60
Copy link

winter60 commented Sep 8, 2024

其实也不用插件,可以加一个块属性来控制是否铺满文档区域,这样就可以把挂件当文档用了。不设这个属性时同样也能当挂件用,你觉得呢,萌佬?@Zuoqiu-Yingyi

@entps
Copy link
Author

entps commented Sep 8, 2024 via email

@winter60
Copy link

winter60 commented Sep 9, 2024

就像这样 ,不过另需调整下移动端和嵌入块的样式

20240909_122204.mp4

@entps
Copy link
Author

entps commented Sep 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants