mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 09:35:37 -05:00
Set items in cell model (#12237)
This commit is contained in:
@@ -277,8 +277,8 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges {
|
||||
this.isEditMode = editMode !== undefined ? editMode : !this.isEditMode;
|
||||
this.cellModel.isEditMode = this.isEditMode;
|
||||
if (!this.isEditMode) {
|
||||
this.previewMode = true;
|
||||
this.markdownMode = false;
|
||||
this.cellModel.showPreview = true;
|
||||
this.cellModel.showMarkdown = false;
|
||||
}
|
||||
this.updatePreview();
|
||||
this._changeRef.detectChanges();
|
||||
|
||||
Reference in New Issue
Block a user