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

如何复制图片地址? #446

Closed
Wooolfboy opened this issue Sep 27, 2021 · 6 comments
Closed

如何复制图片地址? #446

Wooolfboy opened this issue Sep 27, 2021 · 6 comments

Comments

@Wooolfboy
Copy link

文档中有打开图片跟下载图片这两功能,但没有复制图片地址,我也试着用' LinkHints.activateCopyLinkUrl match="img" ',能识别图片但提示“没有发现地址”,我想应该是因为图片地址是存放在src属性中的原因。
是否能添加这个功能,或者可以给个比较简单的实现方式吗?

@gdh1995
Copy link
Owner

gdh1995 commented Sep 27, 2021

Duplicate of #399 (comment) .

@Wooolfboy
Copy link
Author

Wooolfboy commented Sep 27, 2021

可以复制,非常感谢。
是我没仔细看issues,重复了,不好意思🙏

@gdh1995
Copy link
Owner

gdh1995 commented Sep 27, 2021

没,这个方法是我刚想起来的,我给那个问题之前回答的是“不行”……正在测另一个方法,应该比这个match=img要好写,等会更新。

@Wooolfboy
Copy link
Author

感谢感谢,其实我感觉这个已经挺简洁的了,哈哈

@gdh1995
Copy link
Owner

gdh1995 commented Sep 27, 2021

这个兼容性不好,不支持背景图,也没用上一些识别“更清晰图”的特殊规则。 #399 (comment) 更新了

@Wooolfboy
Copy link
Author

再次感谢,用上了,确实能识别到背景图了🙏

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