diff --git a/public/vendor/codemirror/addon/edit/continuelist.js b/public/vendor/codemirror/addon/edit/continuelist.js index e70e0ec8c..18db07fc9 100644 --- a/public/vendor/codemirror/addon/edit/continuelist.js +++ b/public/vendor/codemirror/addon/edit/continuelist.js @@ -41,6 +41,9 @@ var bullet = unorderedListRE.test(match[2]) || match[2].indexOf(">") >= 0 ? match[2] : (parseInt(match[3], 10) + 1) + match[4]; + + // make todo list default unchecked + after = after.replace('[x]', '[ ]'); replacements[i] = "\n" + indent + bullet + after; }