mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
4222102c32
commit
1b6d831a07
2 changed files with 41 additions and 13 deletions
|
|
@ -37,7 +37,7 @@ import {updateCellsValue} from "./cell";
|
|||
import {openCalcMenu} from "./calc";
|
||||
import {escapeAttr, escapeHtml} from "../../../util/escape";
|
||||
import {Dialog} from "../../../dialog";
|
||||
import {bindLayoutEvent, getLayoutHTML} from "./layout";
|
||||
import {bindLayoutEvent, getLayoutHTML, updateLayout} from "./layout";
|
||||
import {setGalleryCover, setGallerySize} from "./gallery/util";
|
||||
|
||||
export const openMenuPanel = (options: {
|
||||
|
|
@ -1382,11 +1382,11 @@ export const openMenuPanel = (options: {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "set-layout") {
|
||||
setPageSize({
|
||||
updateLayout({
|
||||
target,
|
||||
protyle: options.protyle,
|
||||
avID,
|
||||
nodeElement: options.blockElement
|
||||
nodeElement: options.blockElement,
|
||||
view: data.view as IAVGallery
|
||||
});
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue