mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-15 15:28:37 +08:00
This commit is contained in:
parent
1c59aa2243
commit
a6ef9d24b9
@ -9,6 +9,7 @@ import {electronUndo} from "../../../undo";
|
||||
import {addClearButton} from "../../../../util/addClearButton";
|
||||
import {updateSearch} from "../render";
|
||||
import {getViewIcon} from "../view";
|
||||
import {processRender} from "../../../util/processCode";
|
||||
|
||||
export const renderGallery = (options: {
|
||||
blockElement: HTMLElement,
|
||||
@ -185,6 +186,9 @@ ${view.hideAttrViewName ? " av__gallery--top" : ""}">
|
||||
galleryElement.classList.remove("av__gallery--top");
|
||||
}
|
||||
}
|
||||
if (view.coverFrom === 1) {
|
||||
processRender(options.blockElement);
|
||||
}
|
||||
if (typeof oldOffset === "number") {
|
||||
options.protyle.contentElement.scrollTop = oldOffset;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user