There was an error while loading. Please reload this page.
1 parent 3bfc1ae commit 17634c2Copy full SHA for 17634c2
addon/edit/continuelist.js
@@ -24,7 +24,7 @@
24
// If we're not in Markdown mode, fall back to normal newlineAndIndent
25
var eolState = cm.getStateAfter(pos.line);
26
var inner = CodeMirror.innerMode(cm.getMode(), eolState);
27
- if (inner.mode.name !== "markdown") {
+ if (inner.mode.name !== "markdown" && inner.mode.helperType !== "markdown") {
28
cm.execCommand("newlineAndIndent");
29
return;
30
} else {
0 commit comments