mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-28 15:49:23 +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() {
|
parseHTML() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
tag: 'img[src]',
|
tag: 'img[src]:not([src^="data:"])',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user