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

新版本图片选择器不能插入链接 #150

Closed
ChrisKimZHT opened this issue Feb 10, 2021 · 3 comments
Closed

新版本图片选择器不能插入链接 #150

ChrisKimZHT opened this issue Feb 10, 2021 · 3 comments
Assignees

Comments

@ChrisKimZHT
Copy link
Contributor

主题更新新版本图片选择器后不能直接输入图片链接了,也就是不能插入外链了。
image
如果能让这个输入框可以手动输入就好了

@yrccondor yrccondor self-assigned this Feb 10, 2021
@SakuraPuare
Copy link

复议,同样的在 MDx主题-样式-首页 里的 首页图片 也希望可以手动输入地址。
虽然可以曲线救国,先点 使用必应美图 再把网址输入进去。

@ChrisKimZHT
Copy link
Contributor Author

复议,同样的在 MDx主题-样式-首页 里的 首页图片 也希望可以手动输入地址。
虽然可以曲线救国,先点 使用必应美图 再把网址输入进去。

哈我发现可以直接用浏览器开发者工具,找到那个输入框的代码,删去readonly那一个参数,然后就可以直接输入了...(算是曲线救国了)

@yrccondor
Copy link
Owner

花了点时间研究了一下,WordPress 新的图片选择器非常难以扩展,图片选择器里有“从 URL 插入”功能但没法启用,目前只能去掉文本输入框的 readonly 属性。稍后更新

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

3 participants