提交 83fb892a 编写于 作者: R rebornix

fix #105921.

上级 c8c19aa7
......@@ -464,7 +464,8 @@ abstract class AbstractCellRenderer extends Disposable {
...fixedDiffEditorOptions,
overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode(),
readOnly: false,
originalEditable: false
originalEditable: false,
ignoreTrimWhitespace: false
});
DOM.addClass(this._metadataEditorContainer!, 'diff');
......@@ -567,7 +568,8 @@ abstract class AbstractCellRenderer extends Disposable {
this._outputEditor = this.instantiationService.createInstance(DiffEditorWidget, this._outputEditorContainer!, {
...fixedDiffEditorOptions,
overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode(),
readOnly: true
readOnly: true,
ignoreTrimWhitespace: false
});
DOM.addClass(this._outputEditorContainer!, 'diff');
......@@ -855,7 +857,8 @@ export class ModifiedCell extends AbstractCellRenderer {
this._editor = this.instantiationService.createInstance(DiffEditorWidget, this._editorContainer, {
...fixedDiffEditorOptions,
overflowWidgetsDomNode: this.notebookEditor.getOverflowContainerDomNode(),
originalEditable: false
originalEditable: false,
ignoreTrimWhitespace: false
});
DOM.addClass(this._editorContainer, 'diff');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册