如何打开、编辑然后保存 Dropbox 文件
How to open, edit, then save Dropbox file
我有一个可以编辑文件的网络应用程序。它完全在客户端运行,只有一个静态内容服务器。
我希望用户访问我的站点,从 Dropbox 中选择文件,使用我的应用程序对其进行编辑,然后将其保存回来。
这可以通过云端硬盘实现(例如 https://github.com/googledrive/web-quickeditor, hosted at https://github.com/googledrive/web-quickeditor),只有静态内容服务器(HTML、JS、CSS)...没有数据库或任何其他需要的服务器设置。
Dropbox 可以吗?他们的 file picker doesn't allow me to write back to Dropbox. There's dropbox-js,但没有文件选择器。
我从 JS 打开、编辑和保存的预期方式是什么?
Dropbox Saver 将允许用户将文件保存回他们的帐户,但应用程序需要能够为新文件提供 URL。
或者,您可以使用 dropbox-js as you mentioned. There's no reason you can't use both the Dropbox Chooser and dropbox-js。
我有一个可以编辑文件的网络应用程序。它完全在客户端运行,只有一个静态内容服务器。
我希望用户访问我的站点,从 Dropbox 中选择文件,使用我的应用程序对其进行编辑,然后将其保存回来。
这可以通过云端硬盘实现(例如 https://github.com/googledrive/web-quickeditor, hosted at https://github.com/googledrive/web-quickeditor),只有静态内容服务器(HTML、JS、CSS)...没有数据库或任何其他需要的服务器设置。
Dropbox 可以吗?他们的 file picker doesn't allow me to write back to Dropbox. There's dropbox-js,但没有文件选择器。
我从 JS 打开、编辑和保存的预期方式是什么?
Dropbox Saver 将允许用户将文件保存回他们的帐户,但应用程序需要能够为新文件提供 URL。
或者,您可以使用 dropbox-js as you mentioned. There's no reason you can't use both the Dropbox Chooser and dropbox-js。