fix history viewing

This commit is contained in:
Arjun 2026-02-25 08:59:02 +05:30
parent 3ccdbb614c
commit 9e91b8cab9

View file

@ -3340,7 +3340,7 @@ function App() {
>
<MarkdownEditor
content={tabContent}
onChange={(markdown) => handleEditorChange(tab.path, markdown)}
onChange={(markdown) => { if (!isViewingHistory) handleEditorChange(tab.path, markdown) }}
placeholder="Start writing..."
wikiLinks={wikiLinkConfig}
onImageUpload={handleImageUpload}