widget-drawio icon indicating copy to clipboard operation
widget-drawio copied to clipboard

建议更改为新插件形式

Open entps opened this issue 1 year ago • 10 comments

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

entps avatar Sep 09 '23 13:09 entps

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

Zuoqiu-Yingyi avatar Sep 10 '23 09:09 Zuoqiu-Yingyi

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

entps avatar Sep 14 '23 05:09 entps

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

Zuoqiu-Yingyi avatar Sep 14 '23 06:09 Zuoqiu-Yingyi

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

同意,太需要了

LiangtaoZhong avatar Sep 22 '23 13:09 LiangtaoZhong

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

Zuoqiu-Yingyi avatar Feb 22 '24 05:02 Zuoqiu-Yingyi

挺好的,现在Excalidraw岀了个新的挂件版,挺好的,可以参考一下

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年02月22日 13:46 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Zuoqiu-Yingyi/widget-drawio] 建议更改为新插件形式 (Issue #28) |

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

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

entps avatar Feb 22 '24 05:02 entps

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

winter60 avatar Sep 08 '24 12:09 winter60

可以,很好

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年09月08日 20:29 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Zuoqiu-Yingyi/widget-drawio] 建议更改为新插件形式 (Issue #28) |

@.***

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

entps avatar Sep 08 '24 15:09 entps

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

https://github.com/user-attachments/assets/90ac468b-9076-4071-b81c-1fce0b481638

winter60 avatar Sep 09 '24 04:09 winter60

很不错,这很好了

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年09月09日 12:23 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Zuoqiu-Yingyi/widget-drawio] 建议更改为新插件形式 (Issue #28) |

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

https://github.com/user-attachments/assets/90ac468b-9076-4071-b81c-1fce0b481638

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

entps avatar Sep 09 '24 04:09 entps