Skip to content

Commit

Permalink
Update editor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xieguigang committed Nov 1, 2024
1 parent c413f8a commit 78fb1cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function updateLineNumbers() {

// 更新行号显示
linenums.innerHTML = lineNumbersHTML;
// linenums.style.height = editor.scrollHeight + 'px';
}

// 当文档加载完毕时,初始化行号
Expand Down

0 comments on commit 78fb1cf

Please sign in to comment.