diff options
author | Cheng-Han, Wu | 2016-02-08 22:49:35 -0600 |
---|---|---|
committer | Cheng-Han, Wu | 2016-02-08 22:49:35 -0600 |
commit | acb9dac1b995417f5d166dc19cd2b47601c12f35 (patch) | |
tree | f27b55f3bd03676f5314b2fd51e7480a4d20ca83 /public/vendor/codemirror/addon/edit | |
parent | eb29e763a4ae8520c7583c575b2766d6a0d8ae42 (diff) |
Updated to make continue list in todo list default as unchecked
Diffstat (limited to 'public/vendor/codemirror/addon/edit')
-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; } |