|
|
@ -1540,7 +1540,7 @@ SimpleMDE.prototype.render = function(el) {
|
|
|
|
lineWrapping: (options.lineWrapping === false) ? false : true,
|
|
|
|
lineWrapping: (options.lineWrapping === false) ? false : true,
|
|
|
|
allowDropFileTypes: ["text/plain"],
|
|
|
|
allowDropFileTypes: ["text/plain"],
|
|
|
|
placeholder: options.placeholder || el.getAttribute("placeholder") || "",
|
|
|
|
placeholder: options.placeholder || el.getAttribute("placeholder") || "",
|
|
|
|
styleSelectedText: (options.styleSelectedText != undefined) ? options.styleSelectedText : true
|
|
|
|
styleSelectedText: (options.styleSelectedText != undefined) ? options.styleSelectedText : !isMobile(),
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
this.codemirror.getScrollerElement().style.minHeight = options.minHeight;
|
|
|
|
this.codemirror.getScrollerElement().style.minHeight = options.minHeight;
|
|
|
|