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

裁剪图片的拖拽问题和文档内容有标签时图片不展示 #4

Closed
xiaopya opened this issue Nov 15, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@xiaopya
Copy link

xiaopya commented Nov 15, 2021

首先第一个问题:裁剪图片的拖拽,当我浏览器上下滚动的时候 鼠标的指针就不再 裁剪图片的窗口上面了
应该是 拖拽的div 到窗口的距离 你这个好像是 到浏览器的距离
其实可以取消拖拽的功能-或者作者去修复一下这个问题
(bug触发:点击裁剪图片 去拖拽他 然后滚动浏览器窗口)

第二个问题:就是文档内容有标签的话 下面在去上传图片就不展示了 (超链接也是如此)
但是如果在标签和图片之间加一个回车 就可以展示了
1

第三个问题和建议:图片上传功能 默认三个 链接/上传图片/裁剪 可以通过 true/false 去控制他 如果我不想要裁剪功能可以通过配置项给个 裁剪: false; 去掉
问题:如果markdown组件 放到form表单里面 那个裁剪图片的确定按钮 和form表单的确定按钮会重(点击裁剪图片的确定按钮 form表单就提交了)

*希望作者可以参考一下

@xiaopya xiaopya changed the title 裁剪图片和文档内容有标签时图片不展示 裁剪图片的拖拽问题和文档内容有标签时图片不展示 Nov 15, 2021
imzbf pushed a commit that referenced this issue Nov 15, 2021
@imzbf imzbf added the bug Something isn't working label Nov 15, 2021
@imzbf
Copy link
Owner

imzbf commented Nov 15, 2021

谢谢,问题已确认~

关于第三个建议,这边会进一步考虑是否合适~

imzbf pushed a commit that referenced this issue Nov 16, 2021
@imzbf
Copy link
Owner

imzbf commented Nov 18, 2021

  • 拖拽问题在1.2.0中得到优化辣~
  • 关于标签与文本之前需要换行的问题,目前需要自行处理一下,后续测试marked新版本有优化再行优化
  • 关于上传图片菜单控制,目前不做该内容控制
  • 关于button对form表单的影响已消除

@imzbf imzbf closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants