pull/805/merge
Arnaud Lier 4 years ago committed by GitHub
commit e58baf73ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -617,7 +617,7 @@ function drawLink(editor) {
var cm = editor.codemirror; var cm = editor.codemirror;
var stat = getState(cm); var stat = getState(cm);
var options = editor.options; var options = editor.options;
var url = "http://"; var url = "https://";
if(options.promptURLs) { if(options.promptURLs) {
url = prompt(options.promptTexts.link); url = prompt(options.promptTexts.link);
if(!url) { if(!url) {
@ -634,7 +634,7 @@ function drawImage(editor) {
var cm = editor.codemirror; var cm = editor.codemirror;
var stat = getState(cm); var stat = getState(cm);
var options = editor.options; var options = editor.options;
var url = "http://"; var url = "https://";
if(options.promptURLs) { if(options.promptURLs) {
url = prompt(options.promptTexts.image); url = prompt(options.promptTexts.image);
if(!url) { if(!url) {
@ -2025,4 +2025,4 @@ SimpleMDE.prototype.toTextArea = function() {
} }
}; };
module.exports = SimpleMDE; module.exports = SimpleMDE;

Loading…
Cancel
Save