Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/15300

Vanessaeea07195c6ea
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index febd741c1d..980fbe2976 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -335,7 +335,7 @@ export class WYSIWYG {
textPlain += cellText + "\t";
}
});
- textPlain = textPlain.substring(0, textPlain.length - 2);
+ textPlain = textPlain.substring(0, textPlain.length - 1);
html = html.substring(0, html.length - 1) + "]";
}
} else if (selectTableElement) {