- Replaced jsPDF client-side generation with Tauri's native print dialog - Created PrintView component that renders note content in a print-optimized layout - Added print-export window capability with webview creation and print permissions - Implemented event-based communication between main window and print window - Moved shared print/export utilities to printExport.ts (title extraction, filename sanitization) - Changed export button icon from download
21 lines
474 B
JSON
21 lines
474 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main", "print-export-*"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:webview:allow-create-webview-window",
|
|
"core:webview:allow-print",
|
|
"opener:default",
|
|
"http:default",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{ "url": "https://*" },
|
|
{ "url": "http://*" }
|
|
]
|
|
}
|
|
]
|
|
}
|