From 904a0dd587ae536702f44103b16df8d5f9c77dec Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 4 Jan 2024 17:06:21 +0800 Subject: [PATCH 1/2] :memo: Update README --- README.md | 2 +- README_zh_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d3fd628b..66c43a923 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ WYSIWYG. Welcome to [SiYuan English Discussion Forum](https://liuyun.io) to learn more. -![feature0.png](screenshots/feature0.png) +![feature0.png](https://b3logfile.com/file/2024/01/feature0-1orBRlI.png) ## 🔮 Features diff --git a/README_zh_CN.md b/README_zh_CN.md index a7835516a..58e0a0d7a 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -31,7 +31,7 @@ 思源笔记是一款隐私优先的个人知识管理系统,支持细粒度块级引用和 Markdown 所见即所得。 -![feature0.png](screenshots/feature0.png) +![feature0.png](https://b3logfile.com/file/2024/01/feature0-1orBRlI.png) 欢迎到[思源笔记官方讨论区](https://ld246.com/domain/siyuan)了解更多。同时也欢迎关注 B3log 开源社区微信公众号 `B3log开源`: From 80dffbc5082555d6ac943c4fcf16d7c3e2746d73 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 4 Jan 2024 17:19:48 +0800 Subject: [PATCH 2/2] :art: Improve pasting in av cell --- app/src/protyle/util/insertHTML.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts index 187af3e5b..060412111 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) {