save using ctrl+s

This commit is contained in:
Jan Prochazka
2020-12-07 19:49:37 +01:00
parent fd2747d166
commit fc6355126f
7 changed files with 41 additions and 12 deletions

View File

@@ -124,7 +124,14 @@ export default function ShellTab({ tabid, tabVisible, toolbarPortalRef, ...other
/>,
toolbarPortalRef.current
)}
<SaveTabModal modalState={saveFileModalState} data={editorData} format="text" folder="shell" tabid={tabid} />
<SaveTabModal
modalState={saveFileModalState}
tabVisible={tabVisible}
data={editorData}
format="text"
folder="shell"
tabid={tabid}
/>
</>
);
}