mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-07-31 05:44:27 -06:00
Replace http:// with https://
This commit is contained in:
parent
6abda7ab68
commit
fbe511d5ba
@ -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…
x
Reference in New Issue
Block a user