-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use html-to-image to replace html2canvs #14161
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
Comments
This was referenced Mar 7, 2025
Closed
滚动条和排版元素文档的问题在 Mac 和 Windows 下无法重现。 |
88250
added a commit
that referenced
this issue
Mar 10, 2025
已经提交 |
@Vanessa219 我试了一下用 .b3-dialog--open[data-key="dialog-exportimage"] .b3-dialog__content {
overflow: hidden;
} 排版元素文档在我这里已经能导出了 |
Closed
看一下其他用户有没有,有的话再合并进来。 |
hidden好像不行,导出时无法滚动查看了。 |
导出过程中本来就不允许滚动 |
那个 CSS 只是示意 |
TCOTC
added a commit
to TCOTC/Whisper
that referenced
this issue
Mar 18, 2025
v3.1.25 更换了图片导出库 siyuan-note/siyuan#14161 ,不再拆分行级元素 siyuan-note/siyuan#13856 ,所以注释掉这些样式
我这里不确定要怎么改,因为无法重现。 |
导出图片的时候会去掉 .b3-dialog__container 的 style.height ,就在这个时候给 .b3-dialog__content 添加 style.overflow = "hidden" |
好的,还麻烦再看一看。 |
TCOTC
added a commit
to TCOTC/Whisper
that referenced
this issue
Apr 9, 2025
v3.1.25 更换了图片导出库 siyuan-note/siyuan#14161 ,不再拆分行级元素 siyuan-note/siyuan#13856 ,所以移除这些样式
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用 html-to-image 替换 html2canvs
01
公式中括号、自动编号:
https://ld246.com/article/1740039365723
02
导出的图片没有显示图标:
The text was updated successfully, but these errors were encountered: