Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

offline view mode feature : have a local copy #37

Open
steelexu opened this issue Sep 4, 2017 · 3 comments
Open

offline view mode feature : have a local copy #37

steelexu opened this issue Sep 4, 2017 · 3 comments

Comments

@steelexu
Copy link

steelexu commented Sep 4, 2017

use https://[host]/p/[padName]/export/txt to get the text ,save to local storage/file_system

from this
https://github.com/ether/etherpad-lite/wiki/Backing-up-and-Restoring-Etherpad-Lite-Pads

Thanks!

maybe it's possible to change the div to textarea in padview.html , <textarea id="pad" class="active">

@mikifus
Copy link
Owner

mikifus commented Sep 18, 2017

Thanks for the proposal, when I find I moment I will check it out in detail.

I'd rather allow download only than editing in a textarea, because I can't think of a way to sync the offline editions with the pad.

@madduck
Copy link

madduck commented Jan 14, 2018

I think it'd be great if Padland maintained a local export (read-only) copy of each pad every time the user closed the pad or the app, so that it can be viewed when offline.

@mikifus
Copy link
Owner

mikifus commented Sep 3, 2023

While simple in nature, your proposal might need:

  • Server compatibility fallback (servers are free to restrict the export URL)
  • An option on where to store the exported files, which leads to:
    • Permission to write local storage
    • Permission checks on the selected directory
    • Default export directory
  • An option for each document to decide if it should be exported on close automatically
  • A manual export button that allows to choose: default directory or specify location

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants