Skip to content

Commit

Permalink
add blob url format
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-kotov-dx committed Feb 10, 2022
1 parent 7a89214 commit affdbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formats/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Image extends EmbedBlot {
}

static sanitize(url) {
return sanitize(url, ['http', 'https', 'data']) ? url : '//:0';
return sanitize(url, ['http', 'https', 'data', 'blob']) ? url : '//:0';
}

static value(domNode) {
Expand Down

0 comments on commit affdbb5

Please sign in to comment.