Changed link and image defaults to `https://`

pull/6/head
Jeroen Akkerman 6 years ago
parent 89ed815735
commit 24fae9d68f

File diff suppressed because one or more lines are too long

@ -16637,7 +16637,7 @@ function drawLink(editor) {
var cm = editor.codemirror;
var stat = getState(cm);
var options = editor.options;
var url = "http://";
var url = "https://";
if(options.promptURLs) {
url = prompt(options.promptTexts.link);
if(!url) {
@ -16654,7 +16654,7 @@ function drawImage(editor) {
var cm = editor.codemirror;
var stat = getState(cm);
var options = editor.options;
var url = "http://";
var url = "https://";
if(options.promptURLs) {
url = prompt(options.promptTexts.image);
if(!url) {

File diff suppressed because one or more lines are too long

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