Timothy Jaeryang Baek 2 bulan lalu
induk
melakukan
a01e5126a3
3 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/lib/components/common/RichTextInput/Image/image.ts
  2. TEMPAT SAMPAH
      static/image-placeholder.png
  3. TEMPAT SAMPAH
      static/no-image.png

+ 2 - 2
src/lib/components/common/RichTextInput/Image/image.ts

@@ -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');
 					}
 				}
 			});

TEMPAT SAMPAH
static/image-placeholder.png


TEMPAT SAMPAH
static/no-image.png