move file sharing to context menu

This commit is contained in:
TC
2026-06-14 19:36:27 +10:00
parent 223b583f18
commit 6353c4151d
2 changed files with 10 additions and 11 deletions

View File

@@ -1165,16 +1165,6 @@ export function MarkdownEditor(): JSX.Element {
</span>
)
})()}
<button
className="statusbar-share-btn"
onClick={async () => {
const fileName = activeFilePath.split('/').pop()?.replace(/\.md$/, '') ?? 'document'
await window.api.exportPDF(activeFileContent, fileName)
}}
title="Export document as PDF"
>
</button>
</div>
</div>
)}