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

预览区域图片使用 pointer 样式 #1038

Closed
zhuyouzhufu opened this issue Jul 5, 2021 · 0 comments
Closed

预览区域图片使用 pointer 样式 #1038

zhuyouzhufu opened this issue Jul 5, 2021 · 0 comments
Assignees
Milestone

Comments

@zhuyouzhufu
Copy link

编辑模式

  • wysiwyg 所见即所得模式
  • ir 即时渲染模式
  • sv 分屏编辑预览模式

描述问题

1、图片预览的时候,如果能预览的图片最好样式加一个小手的样式(代表可点击,可预览),这样用户体验会好一点。
/覆盖vditor默认样式,这个id:#vditor是我自己定义的/
#vditor img:hover {
cursor: pointer;
}
2、还有我发现预览需要点击图片2次才能真正的预览图片,这个为什么不是点击一次。按照用户的操作习惯不是一点击就看到图片吗?
3、图片预览的z-index优先级最好设置的高一点,不然随便一个组件优先级都比这个高很多。虽然能通过css设置,但是按道理来说预览的东西是优先级最高的,这个符合我们的操作逻辑,具体表现为以下这个问题
#1037

一点个人的观点,希望组件越来越完美

@Vanessa219 Vanessa219 self-assigned this Jul 5, 2021
@Vanessa219 Vanessa219 changed the title 图片预览改进 图片使用 pointer 样式 Jul 5, 2021
@Vanessa219 Vanessa219 added this to the 3.8 milestone Jul 5, 2021
@Vanessa219 Vanessa219 changed the title 图片使用 pointer 样式 预览区域图片使用 pointer 样式 Jul 5, 2021
izgzhen pushed a commit to chafan-dev/vditor that referenced this issue Dec 11, 2021
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