mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 10:00:17 +05:30
fix: resolve editor, batch conversion, and startup performance issues
- Remove popout preview button (HTML, JS, CSS) - Fix Save/Save As flow for new untitled files - Fix batch conversion menu items (wire show-batch-converter IPC) - Add universal-convert-batch IPC handler for batch file conversion - Lazy-load mermaid, pdfjs-dist, sidebar panels, command palette - Switch highlight.js CSS from CDN to local - Defer CodeMirror language extensions until first use - Add show:false + ready-to-show for faster perceived startup - Install mermaid as local dependency (remove CDN script tag)
This commit is contained in:
@@ -188,34 +188,6 @@ body {
|
||||
background: #666;
|
||||
}
|
||||
|
||||
/* Preview Header */
|
||||
.preview-header {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
padding: 4px 8px;
|
||||
background: #f6f8fa;
|
||||
border-bottom: 1px solid #dfe2e5;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.preview-popout-btn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
padding: 2px 6px;
|
||||
cursor: pointer;
|
||||
font-size: 11px;
|
||||
color: #8c959f;
|
||||
opacity: 0.5;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.preview-popout-btn:hover {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
opacity: 1;
|
||||
color: #24292f;
|
||||
}
|
||||
|
||||
.editor-textarea {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user