mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-02 18:10:18 +05:30
Release v1.8.3: Major UI and Export Enhancements
This release includes significant improvements to PDF Editor UI, enhanced PDF/Word export functionality, print fixes, and configurable template settings. 🎯 v1.8.1 - Streamlined PDF Editor UI: - Clean, focused interface showing only the selected PDF operation - Smooth fade-in animations when switching between functions - Optimized dialog sizing (max-width 600px, max-height 85vh) - Enhanced file list styling with better contrast - Complete dark theme support for all PDF editor components - Better scrolling behavior for long forms 📄 v1.8.2 - Enhanced PDF Export & Print Fix: - New "PDF (Enhanced)" export option using Word template + LibreOffice conversion - Added to both single-file export and batch converter - Keyboard shortcut: Ctrl+Shift+P for enhanced PDF export - Fixed print preview showing blank output issue - Simplified print handler using CSS @media print rules - Better print styling with proper element hiding/showing ⚙️ v1.8.3 - Configurable Template Settings: - Added "Template Settings..." menu option - Configurable start page for Word template content insertion - Choose from Pages 1-5 or custom page number (1-100) - Settings persisted across sessions - Updated WordTemplateExporter to use configurable start page - Works with both DOCX (Enhanced) and PDF (Enhanced) export - Applied to single-file and batch conversion workflows 🔧 Technical Improvements: - Enhanced WordTemplateExporter constructor to accept startPage parameter - Updated insertContentAfterPage method for flexible page insertion - Added Template Settings dialog with quick-select buttons - IPC communication for custom page number input - Settings stored in userData/settings.json - Improved CSS specificity with PDF editor-specific classes - Fixed @media print rules to ensure preview content is visible 🎨 UI/UX Enhancements: - PDF Editor sections now animate smoothly when switching - File lists for merge operations styled with proper contrast - Remove buttons styled with danger color (#dc3545) - Template settings dialog shows current template and start page - All enhancements support all 22 existing themes The application now provides professional-grade PDF editing, enhanced export capabilities with full control over template-based generation, and a streamlined user interface that makes complex operations simple and intuitive. 🤖 Generated with Claude Code
This commit is contained in:
+28
-2
@@ -2945,18 +2945,33 @@ body.theme-concrete-warm .status-bar {
|
||||
.editor-container,
|
||||
#status-bar,
|
||||
.status-bar,
|
||||
.toolbar,
|
||||
.tab-bar,
|
||||
.editor-pane,
|
||||
[id^="editor-pane-"] {
|
||||
[id^="editor-pane-"],
|
||||
.dialog,
|
||||
.modal-overlay,
|
||||
.export-dialog {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Ensure body and html take full width */
|
||||
html, body {
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Show preview in full width */
|
||||
#preview,
|
||||
.preview,
|
||||
.preview-content,
|
||||
[id^="preview-"],
|
||||
[id^="preview-pane-"],
|
||||
.tab-content {
|
||||
.tab-content,
|
||||
.pane {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
@@ -2965,6 +2980,10 @@ body.theme-concrete-warm .status-bar {
|
||||
padding: 20px !important;
|
||||
overflow: visible !important;
|
||||
position: static !important;
|
||||
left: auto !important;
|
||||
right: auto !important;
|
||||
top: auto !important;
|
||||
bottom: auto !important;
|
||||
}
|
||||
|
||||
/* Optimize preview content for printing */
|
||||
@@ -2976,6 +2995,13 @@ body.theme-concrete-warm .status-bar {
|
||||
background: white !important;
|
||||
}
|
||||
|
||||
/* No-styles mode for printing without theme colors */
|
||||
body.printing-no-styles .preview-content,
|
||||
body.printing-no-styles [id^="preview-"] {
|
||||
color: #000 !important;
|
||||
background: #fff !important;
|
||||
}
|
||||
|
||||
/* Text formatting */
|
||||
.preview-content h1,
|
||||
.preview-content h2,
|
||||
|
||||
Reference in New Issue
Block a user