This commit is contained in:
parent
fd15a31026
commit
04b83a3bc6
2 changed files with 2 additions and 3 deletions
|
@ -8,6 +8,7 @@
|
|||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<link rel="apple-touch-icon" href="../../icon.png">
|
||||
<style id="editorAttr" type="text/css"></style>
|
||||
<script src="../../protyle/js/pdf/pdf.min.mjs?v=4.7.85" type="module"></script>
|
||||
</head>
|
||||
<body class="fn__flex-column body--window">
|
||||
<div class="fn__flex-1 fn__flex">
|
||||
|
|
|
@ -320,9 +320,7 @@ export const alignImgCenter = (protyle: IProtyle, nodeElement: Element, assetEle
|
|||
export const alignImgLeft = (protyle: IProtyle, nodeElement: Element, assetElements: Element[], id: string, html: string) => {
|
||||
nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));
|
||||
assetElements.forEach((item: HTMLElement) => {
|
||||
item.style.minWidth = "";
|
||||
// 兼容历史居中问题
|
||||
item.style.display = "";
|
||||
item.removeAttribute("style");
|
||||
});
|
||||
updateTransaction(protyle, id, nodeElement.outerHTML, html);
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue