Skip to content

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

:art: Improve pasting in av cell

Daniel80dffbc50825
diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts
index 187af3e5b5..060412111f 100644
--- a/app/src/protyle/util/insertHTML.ts
+++ b/app/src/protyle/util/insertHTML.ts
@@ -11,7 +11,7 @@ import {updateAVName} from "../render/av/action";
import {updateCellsValue} from "../render/av/cell";
const processAV = (range: Range, html: string, protyle: IProtyle, blockElement: Element) => {
- const text = protyle.lute.BlockDOM2StdMd(html);
+ const text = protyle.lute.BlockDOM2EscapeMarkerContent(html);
const cellsElement: HTMLElement[] = Array.from(blockElement.querySelectorAll(".av__cell--select"));
const rowsElement = blockElement.querySelector(".av__row--select");
if (rowsElement) {