Skip to content

Commit dd40e6a

Browse files
committed
Restore editor states and fix undo/redo with preview and error sync
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
1 parent 6d5d8eb commit dd40e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editors/editorsContainer/TemplateMarkdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function TemplateMarkdown() {
1818
const handleChange = (value: string | undefined) => {
1919
if (value !== undefined) {
2020
setValue(value); // Update editor state and sync
21-
setTemplateMarkdown(value); // Additional debounce for manual edits
21+
setTemplateMarkdown(value);
2222
}
2323
};
2424

0 commit comments

Comments
 (0)