-
Notifications
You must be signed in to change notification settings - Fork 422
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
[Bug Report] <img> 无法正确触发 urlProcessor #947
Comments
}); |
确实还不支持异步,我重新打开下这个issue,尝试使自定义回调支持异步。 |
另外我还有一个问题 customBlockHookWithImg每次编辑区的内容变化都会触发 如果我新增“123”的内容 “1”,“12”,“123”会分别触发三次customBlockHookWithImg 这种情况就会请求三次图片资源 有什么办法区分之后图片资源的src发生变化才触发customBlockHookWithImg吗 |
哦哦,一种比较便捷的方法是维护一个src的map,如 |
Prerequisites
Describe the Bug
使用 md 的图片语法可以正确触发
urlProcessor
,但使用 html 的图片语法则不行重现方法:
在官网的范例网页使用下面的语法
可以看到 b.jpg 没有触发
urlProcessor
这个问题蛮严重的,一些服务的图片使用的是相对路径,或是本地档案的绝对路径,一定要经过 urlProcessor 处理才能正确显示
Reproduction Steps
No response
System Information
No response
Contributing
None
The text was updated successfully, but these errors were encountered: