mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-05 02:41:34 +00:00
fix: keep a note's pasted images when the note is rebuilt from HTML (#31513)
This commit is contained in:
parent
909a2075d3
commit
e276d33352
1 changed files with 3 additions and 0 deletions
|
|
@ -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://"]'
|
||||
}
|
||||
];
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue