mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🚨
This commit is contained in:
parent
dddae14b0a
commit
4f31068205
1 changed files with 2 additions and 2 deletions
|
|
@ -1154,7 +1154,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme
|
|||
});
|
||||
inputElement.addEventListener("blur", () => {
|
||||
if (inputElement.value === imgElement.style.width.replace("px", "")) {
|
||||
return
|
||||
return;
|
||||
}
|
||||
nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));
|
||||
updateTransaction(protyle, id, nodeElement.outerHTML, html);
|
||||
|
|
@ -1217,7 +1217,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme
|
|||
});
|
||||
inputElement.addEventListener("blur", () => {
|
||||
if (inputElement.value === imgElement.style.height.replace("px", "")) {
|
||||
return
|
||||
return;
|
||||
}
|
||||
nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));
|
||||
updateTransaction(protyle, id, nodeElement.outerHTML, html);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue