This commit is contained in:
Vanessa 2023-11-02 11:20:47 +08:00
parent 05a4fc839e
commit 9736ed09f5
7 changed files with 31 additions and 33 deletions

View file

@ -131,7 +131,7 @@ export const bindCardEvent = (options: {
}
let index = 0;
if (typeof options.index === "number") {
index = options.index
index = options.index;
}
const editor = new Protyle(options.app, options.element.querySelector("[data-type='render']") as HTMLElement, {
blockId: "",