mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 00:38:28 +00:00
do not switch to readonly after saving (#223)
This commit is contained in:
parent
688ed8a870
commit
5b686d6534
1 changed files with 0 additions and 1 deletions
|
|
@ -245,7 +245,6 @@ export class PreviewModel implements ViewModel {
|
|||
const newFileContent = globalStore.get(this.newFileContent);
|
||||
try {
|
||||
services.FileService.SaveFile(fileName, util.stringToBase64(newFileContent));
|
||||
this.toggleCodeEditorReadOnly(true);
|
||||
} catch (error) {
|
||||
console.error("Error saving file:", error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue