Skip to content
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] Copy instead of just export. #4

Open
juan7732 opened this issue Feb 19, 2023 · 3 comments
Open

[Feature Request] Copy instead of just export. #4

juan7732 opened this issue Feb 19, 2023 · 3 comments

Comments

@juan7732
Copy link
Contributor

It'd be nice to copy to clipboard instead of just having it as a download

Something that might look like this:
image

@juan7732
Copy link
Contributor Author

Create a separate button, call htmlToMarkdown, and instead of saving, just https://www.w3schools.com/howto/howto_js_copy_clipboard.asp#:~:text=navigator.clipboard.writeText(copyText.value)%3B + a nice little alert or something?

Thoughts?

@ricomeetsworld
Copy link
Owner

Yes, I think that would be a great addition! Having a 'copy' option would allow for more flexibility as one may not want to completely export to a file at times.

Do you have any ideas for the alert, or maybe just have a simple animation when the button's clicked on?

@juan7732
Copy link
Contributor Author

No sabia que hablabas español tambien jaja,

I was thinking I was just thinking a normal js alert with "Markdown has been copied to clipboard".
The animation works too, or even having a button that looks like the copy button instead of what I put on there.
image

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

No branches or pull requests

2 participants