This commit is contained in:
Vanessa 2023-08-28 11:13:16 +08:00
parent b09a276a7d
commit 66048dc1bd

View file

@ -126,7 +126,9 @@ 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) {
if (insertBlock) {
if (nodeElement && nodeElement.classList.contains("table")) {
succFileText += "<br>";
} else if (insertBlock) {
succFileText += "\n\n";
} else {
succFileText += "\n";