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

思源笔记-drawio挂件-导出pdf失败 #38

Open
YunChenZhi opened this issue Mar 27, 2024 · 3 comments
Open

思源笔记-drawio挂件-导出pdf失败 #38

YunChenZhi opened this issue Mar 27, 2024 · 3 comments

Comments

@YunChenZhi
Copy link

VeryCapture_20240327151406
点击导出-pdf,展示的是打印页面,希望大大万忙之中看看这个问题,谢谢

@Zuoqiu-Yingyi
Copy link
Owner

看起来没啥问题, 这个功能 drawio 原始的实现方案就是调用浏览器的打印 API Window:print() 方法

@YunChenZhi
Copy link
Author

正常
上面这个是我自己安装的drawio,正常导出

思源
这个是思源中,大大你提供的drawio导出,这个是要到浏览器导出才行吗?真的迷糊了

@Zuoqiu-Yingyi
Copy link
Owner

这个是要到浏览器导出才行吗?

是的, 技术限制
在浏览器中访问该挂件块需要访问 http://<地址>:<端口>/widgets/drawio/?id=<挂件块ID>
例如 http://localhost:6806/widgets/drawio/?id=20240320153550-hdvz1el

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

2 participants