Browse Source

:bug: img alt

Van 5 years ago
parent
commit
1003788027
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ts/upload/index.ts

+ 1 - 1
src/ts/upload/index.ts

@@ -121,7 +121,7 @@ const genUploadedLabel = (responseText: string, vditor: IVditor) => {
             || type === ".svg"
             || type === ".webp") {
             if (vditor.currentMode === "wysiwyg") {
-                succFileText += `<img title="${filename}" src="${path}">`;
+                succFileText += `<img alt="${filename}" src="${path}">`;
             } else {
                 succFileText += `![${filename}](${path})\n`;
             }