2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00

update lint

This commit is contained in:
Michael Chen 2020-12-22 15:58:59 +08:00
parent 5fc25d80cb
commit 68b2ab87a4

View File

@ -811,7 +811,7 @@ function afterImageUploaded(editor, url) {
var stat = getState(cm);
var options = editor.options;
var imageName = url.substr(url.lastIndexOf('/') + 1);
var ext = imageName.substring(imageName.lastIndexOf('.') + 1);
// var ext = imageName.substring(imageName.lastIndexOf('.') + 1);
_replaceSelection(cm, stat.image, options.insertTexts.uploadedImage, url);