mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #123] txt文本编辑功能 #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chyok on GitHub (Aug 3, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/123
大佬会考虑增加txt文本编辑功能吗,如给txt文件增加一个edit button
有个场景是希望从一个电脑复制东西到另一个电脑,如果能直接修改文本就太方便了
类似于这个server可以直接修改文本并且自动保存
https://github.com/pldubouilh/gossa
期待大佬回复
@sigoden commented on GitHub (Aug 3, 2022):
这个没法支持,不是同一个产品逻辑。
dufs 里面的文件都是通过流的形式直接传输给浏览器的(所谓静态服务)。
如果要支持编辑,你需要先传输网页的,网页中嵌入或加载真正的文件。这就不是一个路数。
如果你要修改文件,dufs中只能先下载,后编辑,再上传。
或者通过webdav把dufs当云盘挂载,这样直接编辑。
@chyok commented on GitHub (Aug 3, 2022):
好的感谢