This commit is contained in:
Vanessa 2023-06-07 11:56:34 +08:00
parent 4a945303a4
commit b4bbabde4e
4 changed files with 5 additions and 5 deletions

View file

@ -119,7 +119,7 @@ const exitApp = (port, errorWindowId) => {
}
};
const localServer = "http://127.0.0.1"
const localServer = "http://127.0.0.1";
const getServer = (port = kernelPort) => {
return localServer + ":" + port;

View file

@ -142,7 +142,7 @@ export const image = {
<svg><use xlink:href="#iconFolder"></use></svg>
</span>`;
}
let boxClearHTML = ""
let boxClearHTML = "";
if (action) {
boxClearHTML = `<span data-type="clear" class="b3-tooltips b3-tooltips__w b3-list-item__action" aria-label="${window.siyuan.languages.delete}">
<svg><use xlink:href="#iconTrashcan"></use></svg>

View file

@ -685,7 +685,7 @@ ${unicode2Emoji(emoji.unicode)}</button>`;
item.style.minWidth = "60px";
});
} else if (nodeElement.classList.contains("av")) {
avRender(nodeElement)
avRender(nodeElement);
}
transaction(protyle, [{
data: oldHTML,

View file

@ -29,8 +29,8 @@ export const avRender = (element: Element) => {
value:"",
}]
}]
}
};
e.setAttribute("data-render", "true");
});
}
}
};