This commit is contained in:
Timothy Jaeryang Baek 2025-07-19 21:34:38 +04:00
parent c100442102
commit a01e5126a3
3 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ export const Image = Node.create<ImageOptions>({
if (file) {
img.setAttribute('src', file.url || '');
} else {
img.setAttribute('src', '/no-image.png');
img.setAttribute('src', '/image-placeholder.png');
}
} else {
img.setAttribute('src', node.attrs.src || '');
@ -155,7 +155,7 @@ export const Image = Node.create<ImageOptions>({
if (file) {
img.setAttribute('src', file.url || '');
} else {
img.setAttribute('src', '/no-image.png');
img.setAttribute('src', '/image-placeholder.png');
}
}
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB