mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 07:02:03 +08:00
🚨
This commit is contained in:
parent
23dabc94e8
commit
c3f53b4c3e
@ -219,7 +219,7 @@ export const appearanceMenu = (protyle: IProtyle, nodeElements?: Element[]) => {
|
|||||||
fontSizePXElement.parentElement.setAttribute("aria-label", fontSizePXElement.value + "px");
|
fontSizePXElement.parentElement.setAttribute("aria-label", fontSizePXElement.value + "px");
|
||||||
});
|
});
|
||||||
fontSizeEMElement.addEventListener("input", function () {
|
fontSizeEMElement.addEventListener("input", function () {
|
||||||
fontSizeEMElement.parentElement.setAttribute("aria-label", (parseFloat(fontSizeEMElement.value) * 100).toFixed(0) + "%")
|
fontSizeEMElement.parentElement.setAttribute("aria-label", (parseFloat(fontSizeEMElement.value) * 100).toFixed(0) + "%");
|
||||||
});
|
});
|
||||||
return element;
|
return element;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user