提交 8a52bf38 编写于 作者: R rebornix

Fix #96519.

上级 58945490
......@@ -108,6 +108,7 @@ export class StatefullMarkdownCell extends Disposable {
height: realContentHeight
}
);
editorHeight = realContentHeight;
}
viewCell.attachTextEditor(this.editor!);
......@@ -120,6 +121,12 @@ export class StatefullMarkdownCell extends Disposable {
width: width,
height: editorHeight
});
const clientHeight = this.markdownContainer.clientHeight;
const totalHeight = editorHeight + 32 + clientHeight + CELL_STATUSBAR_HEIGHT;
this.viewCell.totalHeight = totalHeight;
notebookEditor.layoutNotebookCell(viewCell, totalHeight);
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册