There was an error while loading. Please reload this page.
1 parent d3116fe commit 02ff345Copy full SHA for 02ff345
news/2 Fixes/10006.md
@@ -0,0 +1 @@
1
+Fix ctrl+enter on markdown cells. Now they render.
src/datascience-ui/native-editor/nativeCell.tsx
@@ -449,6 +449,11 @@ export class NativeCell extends React.Component<INativeCellProps> {
449
e.stopPropagation();
450
e.preventDefault();
451
452
+ // Escape the current cell if it is markdown to make it render
453
+ if (this.isMarkdownCell()) {
454
+ this.escapeCell(e);
455
+ }
456
+
457
// Submit this cell
458
this.submitCell('none');
459
this.props.sendCommand(NativeCommandType.Run, 'keyboard');
0 commit comments