Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: hr in edited content do not trigger folding (#748)

Stephen Zhoud51af7e98af8
diff --git a/web/src/components/MemoContent.tsx b/web/src/components/MemoContent.tsx
index c3aab6de0..9c7179afe 100644
--- a/web/src/components/MemoContent.tsx
+++ b/web/src/components/MemoContent.tsx
@@ -65,7 +65,7 @@ const MemoContent: React.FC<Props> = (props: Props) => {
expandButtonStatus: -1,
});
}
- }, [user?.localSetting.enableFoldMemo]);
+ }, [user?.localSetting.enableFoldMemo, content]);
const handleMemoContentClick = async (e: React.MouseEvent) => {
if (onMemoContentClick) {