fix: don’t allow base64 images at all, fix #2455
This commit is contained in:
@@ -59,7 +59,7 @@ export const Image = Node.create<ImageOptions>({
|
|||||||
parseHTML() {
|
parseHTML() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
tag: 'img[src]',
|
tag: 'img[src]:not([src^="data:"])',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user