Vanessa 2025-01-13 12:47:28 +08:00
parent 5a9bb84641
commit a635bcbafd
15 changed files with 63 additions and 64 deletions

View file

@ -379,13 +379,12 @@ export class Plugin {
}
public addFloatLayer = (options: {
ids: string[],
defIds?: string[],
refDefs: IRefDefs[],
x?: number,
y?: number,
targetElement?: HTMLElement,
isBacklink: boolean,
originalRefBlockIDs?: IObject,
isBacklink: boolean,
}) => {
window.siyuan.blockPanels.push(new BlockPanel({
app: this.app,
@ -393,8 +392,7 @@ export class Plugin {
isBacklink: options.isBacklink,
x: options.x,
y: options.y,
nodeIds: options.ids,
defIds: options.defIds,
refDefs: options.refDefs,
}));
};