Merge pull request '[bug] fix bug 78571' (#1694) from fix/bug78571 into release/v9.2.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/sdkjs/pulls/1694
This commit is contained in:
Oleg Korshul
2025-11-19 15:14:34 +00:00

View File

@ -6896,7 +6896,9 @@ function (window, undefined) {
}
else if (this.imageBackground) {
oApi.ImageLoader.map_image_index[this.imageBackgroundUrl] = {
Image: this.imageBackground, Status: AscFonts.ImageLoadStatus.Complete
Image: this.imageBackground,
Status: AscFonts.ImageLoadStatus.Complete,
src: this.imageBackground.src
};
oShape.spPr.setFill(AscFormat.builder_CreateBlipFill(this.imageBackgroundUrl, "stretch"));
}