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

怎么给图片添加超链接啊 #572

Open
Terryisthebest opened this issue Aug 29, 2024 · 5 comments
Open

怎么给图片添加超链接啊 #572

Terryisthebest opened this issue Aug 29, 2024 · 5 comments

Comments

@Terryisthebest
Copy link

目前使用的 Sakura 版本?

2.4.0

目前使用的 halo 版本?

2.18.0

建议/问题

目前只有文字可以添加超链接。但是我想给图片也加入这样的功能,就是点击图片自动跳转到指定页面。但是如果直接把链接改掉的话图片就没有了……

@LIlGG
Copy link
Owner

LIlGG commented Aug 29, 2024

该问题与主题无关。在图片上修改图片跳转链接即可。

image

@LIlGG LIlGG closed this as not planned Won't fix, can't repro, duplicate, stale Aug 29, 2024
@Terryisthebest
Copy link
Author

iShot_2024-08-29_15 23 36 我测试了一下,只有把元素里这一小段删掉才能正常跳转

@LIlGG LIlGG reopened this Aug 29, 2024
@LIlGG
Copy link
Owner

LIlGG commented Aug 29, 2024

我测试了一下,只有把元素里这一小段删掉才能正常跳转

emm,gallery 确实可能会导致图片跳转出现问题。我会再验证一下。

@Terryisthebest
Copy link
Author

好的👌感谢

@Terryisthebest
Copy link
Author

Terryisthebest commented Aug 30, 2024

哦对还有就是点击文章内的视频的时候,会自动打开视频播放窗口(好像是叫灯箱吧?),但是网页端和灯箱端会同时播放视频,这时又必须得手动关掉一个。不知道是不是也跟这个 gallery 有关系。
截屏2024-08-30 下午2 35 25
截屏2024-08-30 下午2 35 31

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