Allow modify lineNumbers via config options

pull/267/head
Dung Nguyen 4 years ago committed by GitHub
parent 11f805f0b5
commit 65186e4537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2034,7 +2034,7 @@ EasyMDE.prototype.render = function (el) {
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
indentUnit: (options.tabSize != undefined) ? options.tabSize : 2,
indentWithTabs: (options.indentWithTabs === false) ? false : true,
lineNumbers: false,
lineNumbers: (options.lineNumbers === true) ? true : false,
autofocus: (options.autofocus === true) ? true : false,
extraKeys: keyMaps,
lineWrapping: (options.lineWrapping === false) ? false : true,

Loading…
Cancel
Save