diff options
Diffstat (limited to 'public/vendor/codemirror/addon')
-rw-r--r-- | public/vendor/codemirror/addon/edit/continuelist.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/vendor/codemirror/addon/edit/continuelist.js b/public/vendor/codemirror/addon/edit/continuelist.js index e70e0ec8..18db07fc 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; } |