fix(files): prevent autosave data loss on load lag and binary files
Guard FilesView autosave until the selected file has finished loading, refuse binary/PDF/office/archive text saves, and add a persisted global autoSaveEnabled setting (default true) under Settings → General. Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
This commit is contained in:
co-authored by
Serhii Dziupin
parent
a4c7bac303
commit
5b727ed53c
@@ -1728,6 +1728,8 @@ export const dict: Record<I18nKey, string> = {
|
||||
'filesView.editor.openFilesAria': 'Otwarte pliki',
|
||||
'filesView.editor.openInDesktopApp': 'Otwórz w aplikacji desktopowej',
|
||||
'filesView.editor.pickFileFromTree': 'Wybierz plik z drzewa.',
|
||||
'filesView.editor.cannotPreviewBinary': 'Nie można podglądać pliku binarnego',
|
||||
'filesView.editor.binaryFileDescription': 'Ten plik jest binarny i nie można go edytować w OpenChamber. Pobierz go, aby otworzyć w innej aplikacji.',
|
||||
'filesView.editor.refreshApps': 'Odśwież aplikacje',
|
||||
'filesView.editor.saveAria': 'Zapisz ({shortcut})',
|
||||
'filesView.editor.saveFile': 'Zapisz plik',
|
||||
|
||||
Reference in New Issue
Block a user