using scrollbarStyle option

pull/250/head
Daniel Calbet 4 years ago
parent 3e8830de82
commit eabb23fd3e

@ -2040,6 +2040,7 @@ EasyMDE.prototype.render = function (el) {
allowDropFileTypes: ['text/plain'],
placeholder: options.placeholder || el.getAttribute('placeholder') || '',
styleSelectedText: (options.styleSelectedText != undefined) ? options.styleSelectedText : !isMobile(),
scrollbarStyle: options.scrollbarStyle,
configureMouse: configureMouse,
inputStyle: (options.inputStyle != undefined) ? options.inputStyle : isMobile() ? 'contenteditable' : 'textarea',
spellcheck: (options.nativeSpellcheck != undefined) ? options.nativeSpellcheck : true,

Loading…
Cancel
Save