mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-03 08:04:29 -06:00
fix for undefined scrollbar style
This commit is contained in:
parent
c696922fe1
commit
29d2c6c5be
@ -2040,7 +2040,7 @@ EasyMDE.prototype.render = function (el) {
|
|||||||
allowDropFileTypes: ['text/plain'],
|
allowDropFileTypes: ['text/plain'],
|
||||||
placeholder: options.placeholder || el.getAttribute('placeholder') || '',
|
placeholder: options.placeholder || el.getAttribute('placeholder') || '',
|
||||||
styleSelectedText: (options.styleSelectedText != undefined) ? options.styleSelectedText : !isMobile(),
|
styleSelectedText: (options.styleSelectedText != undefined) ? options.styleSelectedText : !isMobile(),
|
||||||
scrollbarStyle: options.scrollbarStyle,
|
scrollbarStyle: (options.scrollbarStyle != undefined) ? options.scrollbarStyle : 'native',
|
||||||
configureMouse: configureMouse,
|
configureMouse: configureMouse,
|
||||||
inputStyle: (options.inputStyle != undefined) ? options.inputStyle : isMobile() ? 'contenteditable' : 'textarea',
|
inputStyle: (options.inputStyle != undefined) ? options.inputStyle : isMobile() ? 'contenteditable' : 'textarea',
|
||||||
spellcheck: (options.nativeSpellcheck != undefined) ? options.nativeSpellcheck : true,
|
spellcheck: (options.nativeSpellcheck != undefined) ? options.nativeSpellcheck : true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user