mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 07:39:20 -05:00
fix: keep a note's pasted images when the note is rebuilt from HTML (#31513)
This commit is contained in:
1 file changed
+3
@@ -106,6 +106,9 @@ export const Image = Node.create<ImageOptions>({
|
||||
return [
|
||||
{
|
||||
tag: this.options.allowBase64 ? 'img[src]' : 'img[src]:not([src^="data:"])'
|
||||
},
|
||||
{
|
||||
tag: 'img[src^="data://"]'
|
||||
}
|
||||
];
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user