fix: export to pdf image size
fix: #1103 fix: renderNoteHTML image height
This commit is contained in:
parent
ba50c9d7df
commit
7dce2b0bdc
|
|
@ -248,7 +248,7 @@ async function renderNoteHTML(
|
||||||
node.style.width = `${node.getAttribute("width")}px`;
|
node.style.width = `${node.getAttribute("width")}px`;
|
||||||
}
|
}
|
||||||
if (node.hasAttribute("height")) {
|
if (node.hasAttribute("height")) {
|
||||||
node.style.width = `${node.getAttribute("height")}px`;
|
node.style.height = `${node.getAttribute("height")}px`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue