mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
5a9bb84641
commit
a635bcbafd
15 changed files with 63 additions and 64 deletions
|
|
@ -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,
|
||||
}));
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue