diff --git a/app/src/protyle/upload/index.ts b/app/src/protyle/upload/index.ts index 747a8dc7a..11188297f 100644 --- a/app/src/protyle/upload/index.ts +++ b/app/src/protyle/upload/index.ts @@ -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 += "
"; + } else if (insertBlock) { succFileText += "\n\n"; } else { succFileText += "\n";