mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Set cell preview mode when toggling edit mode. (#20220)
* Also fix leftover settings changes in markdown smoke test.
This commit is contained in:
@@ -436,6 +436,7 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges {
|
||||
this.cellModel.showMarkdown = false;
|
||||
} else {
|
||||
this.markdownMode = this.cellModel.showMarkdown;
|
||||
this.previewMode = this.cellModel.showPreview;
|
||||
}
|
||||
this.updatePreview();
|
||||
this._changeRef.detectChanges();
|
||||
|
||||
Reference in New Issue
Block a user