webNBT icon indicating copy to clipboard operation
webNBT copied to clipboard

Using new FileSystem API to save file without downloading

Open leumasme opened this issue 4 years ago • 1 comments

A new FileSystem Access api is currently Drafted. This new API allows a site to modify a File on the File System, which would significantly improve the current saving system: Saving would silently overwrite the file instead of having to download it every time. Moving to using this API in the future would be worth looking at in the future for a smoother User Experience. The W3C draft can be found here, the functions are already implemented in Chromium: https://wicg.github.io/file-system-access/#api-filesystemhandle

leumasme avatar Dec 20 '20 20:12 leumasme

A demo of this working can be found here: https://googlechromelabs.github.io/text-editor/

leumasme avatar Dec 20 '20 20:12 leumasme