Skip to content

Improve HTML formula clipping #11743

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

Closed
3 tasks done
ruin1990 opened this issue Jun 17, 2024 · 0 comments
Closed
3 tasks done

Improve HTML formula clipping #11743

ruin1990 opened this issue Jun 17, 2024 · 0 comments
Assignees
Milestone

Comments

@ruin1990
Copy link
Contributor

ruin1990 commented Jun 17, 2024

mdnice编辑器里的latex公式无法截取

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

遇到了一个网页保存笔记的时候无法复制出公式,也无法复制出SVG的公式图片
示例:https://mp.weixin.qq.com/s/zndkjRXX1dANi-wOYjQImw
我直接分析网页源码,data-formula字段里有公式原文

<svg ...">...

Expected result

公式可以正确复制到笔记里

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.17
- Operating System: Win10 x64
- Browser (if used): Chrome 120.0.6099.225 (正式版本) (64 位)

Log file

日志我清理了一下重新导入网页剪报
似乎只有一条
W 2024/06/17 19:09:24 blocktree.go:576: save block tree [size=2.36 MB] to [D:\SYNote\temp\blocktree], elapsed [4.38s]
siyuan - 副本.log

More information

No response

@88250 88250 changed the title mdnice编辑器里的latex公式无法截取 Improve HTML formula clipping Jun 17, 2024
@88250 88250 self-assigned this Jun 17, 2024
@88250 88250 added this to the 3.1.0 milestone Jun 17, 2024
88250 added a commit to 88250/lute that referenced this issue Jun 17, 2024

Verified

This commit was signed with the committer’s verified signature.
88250 added a commit to 88250/lute that referenced this issue Jun 17, 2024

Verified

This commit was signed with the committer’s verified signature.
88250 added a commit to siyuan-note/siyuan-chrome that referenced this issue Jun 17, 2024

Verified

This commit was signed with the committer’s verified signature.
88250 added a commit to siyuan-note/siyuan-chrome that referenced this issue Jun 17, 2024

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants