-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Import/Export from a file #13
Comments
Just wanted to mention that one rule I have is everything has to be pure JavaScript... In particular, no flash. I bring this up because chances are someone might ask for a copy-to-clipboard button, and AFAIK the only way to copy something to someone's clipboard (besides them doing it themselves) is via flash. That said, it might be nice to have an option that would put up a modal with a text area and the encounter info in plain text. Handy for people that want to put the data into some other note-taking tool, and could also be parsed programatically if e.g. Improved Initiative wanted to handle that sort of thing. See: https://www.reddit.com/r/DnD/comments/5e6vhx/welcome_to_the_new_kobold_fight_club_encounter/dad2t1m/?context=3 |
I think this might be possible with HTML 5 nowadays. I found https://github.com/zenorocha/clipboard.js/ with a bit of searching. I'm sure there are other good ways to do it if Github uses a button to do it. |
Huh, so it is. Weird. I feel like I researched this not too long ago and a pure JS was impossible, but it looks like it's been well supported for quite a while (chrome 43, firefox 41, IE 9). My bad. |
More context: cynicaloptimist/improved-initiative#46 |
Allow the user to import encounters from a file that was exported.
The text was updated successfully, but these errors were encountered: