mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-07-30 05:14:28 -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 stat = getState(cm);
|
||||
var options = editor.options;
|
||||
var url = "http://";
|
||||
var url = "https://";
|
||||
if(options.promptURLs) {
|
||||
url = prompt(options.promptTexts.link);
|
||||
if(!url) {
|
||||
@ -634,7 +634,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) {
|
||||
@ -2025,4 +2025,4 @@ SimpleMDE.prototype.toTextArea = function() {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = SimpleMDE;
|
||||
module.exports = SimpleMDE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user