提交 717deba6 编写于 作者: R Rob Lourens

Layout editor when switching markdown cell to edit mode the second time

For #101940
上级 76471bdb
......@@ -149,6 +149,11 @@ export class StatefullMarkdownCell extends Disposable {
this.focusEditorIfNeeded();
this.bindEditorListeners();
this.editor.layout({
width: this.viewCell.layoutInfo.editorWidth,
height: editorHeight
});
} else {
const width = this.viewCell.layoutInfo.editorWidth;
const lineNum = this.viewCell.lineCount;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册