We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c8c42d commit c204d2bCopy full SHA for c204d2b
web_src/js/features/comp/EditorMarkdown.js
@@ -73,7 +73,7 @@ function handleNewline(textarea, e) {
73
74
e.preventDefault();
75
if (!line) {
76
- // clear current line
+ // clear current line if we only have i.e. '1. ' and the user presses enter again to finish creating a list
77
textarea.value = value.slice(0, lineStart) + value.slice(lineEnd);
78
} else {
79
// start a new line with the same indention and prefix
0 commit comments