Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #132 from MrZhuA00/fix-131
Browse files Browse the repository at this point in the history
fix: #131
  • Loading branch information
CGQAQ committed Mar 27, 2023
2 parents 9d6769d + 5b24308 commit 39ff54d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const FlowMarkdownEditor = ({ text, onChange }: { text: string; onChange: (text:
return (
<StyledMarkdownContainer>
<MarkdownEditor initialContent={text} hooks={hooks} autoFocus={false}>
<OnTextChange onChange={valueChange} />
<OnTextChange onChange={() => valueChange(text)} />
</MarkdownEditor>
</StyledMarkdownContainer>
);
Expand Down

0 comments on commit 39ff54d

Please sign in to comment.