[bugfix] Utils: is-src add blob image source (#3300)
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
* Is image source
|
||||
*/
|
||||
export function isSrc(url: string): boolean {
|
||||
return /^(https?:)?\/\/|data:image/.test(url);
|
||||
return /^((blob:)?https?:)?\/\/|data:image/.test(url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user