Vanessa 2025-01-01 00:01:32 +08:00
parent 8061a4e133
commit bf3f751a90

View file

@ -143,7 +143,7 @@ width: ${codeElement.clientWidth}px;
white-space:${codeElement.style.whiteSpace}; white-space:${codeElement.style.whiteSpace};
word-break:${codeElement.style.wordBreak}; word-break:${codeElement.style.wordBreak};
font-variant-ligatures:${codeElement.style.fontVariantLigatures}; font-variant-ligatures:${codeElement.style.fontVariantLigatures};
max-height: none;box-sizing: border-box;position: absolute;padding-top:0 !important;padding-bottom:0 !important;min-height:auto !important;`); padding-right:0;max-height: none;box-sizing: border-box;position: absolute;padding-top:0 !important;padding-bottom:0 !important;min-height:auto !important;`);
lineNumberTemp.setAttribute("contenteditable", "true"); lineNumberTemp.setAttribute("contenteditable", "true");
block.insertAdjacentElement("afterend", lineNumberTemp); block.insertAdjacentElement("afterend", lineNumberTemp);