Files
Kang b339760082 feat(note-editor): implement note editor functionality with autosave and toolbar (#366)
- Added a new NoteEditor component for creating and editing notes with autosave capabilities.
- Integrated a toolbar with various editing options including formatting and inserting elements.
- Implemented a NotesPanel for managing notes and folders, including search and context menu features.
- Enhanced user experience with real-time updates and error handling during note operations.
- Introduced new styles for the note editor and toolbar to align with the application’s design.
2026-08-04 01:29:15 +08:00

75 lines
1.7 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"description": "Capability for the main window and child windows",
"identifier": "default",
"permissions": [
"core:default",
"opener:default",
{
"identifier": "opener:allow-open-path",
"allow": [
{
"path": "$APPLOCALDATA/logs"
},
{
"path": "$APPLOCALDATA/logs/**"
},
{
"path": "$TEMP",
"app": true
},
{
"path": "$TEMP/**",
"app": true
},
{
"path": "$TEMP/nyaterm/**/.*",
"app": true
},
{
"path": "**",
"app": true
}
]
},
"dialog:default",
"core:window:allow-show",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-is-maximized",
"core:window:allow-minimize",
"core:window:allow-set-always-on-top",
"core:window:allow-set-enabled",
"core:window:allow-set-focus",
"core:window:allow-set-focusable",
"core:window:allow-set-title",
"core:window:allow-start-dragging",
"core:window:allow-toggle-maximize",
"core:window:allow-unminimize",
"core:window:allow-hide",
"core:window:allow-is-minimized",
"core:window:allow-request-user-attention",
"core:event:default",
"core:webview:allow-create-webview-window"
],
"windows": [
"main",
"main-*",
"settings",
"settings-*",
"new-session",
"new-session-*",
"quick-command",
"quick-command-*",
"proxy",
"proxy-*",
"tunnel",
"tunnel-*",
"auto-upload-*",
"file-editor-*",
"file-preview-*",
"note-editor",
"note-editor-*"
]
}