mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 03:17:46 +01:00
refac
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
BIN
static/image-placeholder.png
Normal file
BIN
static/image-placeholder.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 170 KiB |
Reference in New Issue
Block a user