mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 19:59:02 +08:00
fix: don’t allow base64 images at all, fix #2455
This commit is contained in:
parent
e12b3ad80f
commit
999dbbec12
@ -59,7 +59,7 @@ export const Image = Node.create<ImageOptions>({
|
||||
parseHTML() {
|
||||
return [
|
||||
{
|
||||
tag: 'img[src]',
|
||||
tag: 'img[src]:not([src^="data:"])',
|
||||
},
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user