Skip to content

Commit a01e512

Browse files
committed
refac
1 parent c100442 commit a01e512

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/lib/components/common/RichTextInput/Image/image.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const Image = Node.create<ImageOptions>({
139139
if (file) {
140140
img.setAttribute('src', file.url || '');
141141
} else {
142-
img.setAttribute('src', '/no-image.png');
142+
img.setAttribute('src', '/image-placeholder.png');
143143
}
144144
} else {
145145
img.setAttribute('src', node.attrs.src || '');
@@ -155,7 +155,7 @@ export const Image = Node.create<ImageOptions>({
155155
if (file) {
156156
img.setAttribute('src', file.url || '');
157157
} else {
158-
img.setAttribute('src', '/no-image.png');
158+
img.setAttribute('src', '/image-placeholder.png');
159159
}
160160
}
161161
});

static/image-placeholder.png

90.8 KB
Loading

static/no-image.png

-171 KB
Binary file not shown.

0 commit comments

Comments
 (0)