This commit is contained in:
Vanessa 2023-03-09 21:31:59 +08:00
parent 3e79ff8a0a
commit 3a5310375d

View file

@ -106,7 +106,7 @@ const genUploadedLabel = (responseText: string, protyle: IProtyle) => {
succFileText += genAssetHTML(type, path, filename.substring(0, filename.length - type.length), filename);
if (!Constants.SIYUAN_ASSETS_AUDIO.includes(type) && !Constants.SIYUAN_ASSETS_VIDEO.includes(type) &&
keys.length - 1 !== index) {
succFileText += "\n";
succFileText += "\n\n";
}
});
const range = getEditorRange(protyle.wysiwyg.element);