mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-13 13:04:27 -06:00
Allow modify lineNumbers via config options
This commit is contained in:
parent
11f805f0b5
commit
65186e4537
@ -2034,7 +2034,7 @@ EasyMDE.prototype.render = function (el) {
|
|||||||
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
|
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
|
||||||
indentUnit: (options.tabSize != undefined) ? options.tabSize : 2,
|
indentUnit: (options.tabSize != undefined) ? options.tabSize : 2,
|
||||||
indentWithTabs: (options.indentWithTabs === false) ? false : true,
|
indentWithTabs: (options.indentWithTabs === false) ? false : true,
|
||||||
lineNumbers: false,
|
lineNumbers: (options.lineNumbers === true) ? true : false,
|
||||||
autofocus: (options.autofocus === true) ? true : false,
|
autofocus: (options.autofocus === true) ? true : false,
|
||||||
extraKeys: keyMaps,
|
extraKeys: keyMaps,
|
||||||
lineWrapping: (options.lineWrapping === false) ? false : true,
|
lineWrapping: (options.lineWrapping === false) ? false : true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user