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: ability to load content from URL #14

Open
lucasgonze opened this issue Aug 7, 2023 · 1 comment
Open

feature: ability to load content from URL #14

lucasgonze opened this issue Aug 7, 2023 · 1 comment

Comments

@lucasgonze
Copy link
Owner

If a URL parameter for content is pre-set on load, the editor contains that content.

Implementation: it is simple to do this with Javascript. It is robust to do this with a server-side script.

To populate the parameter, there could be event-based Javascript constantly updating the current URL with every keystroke. Then the user selects the URL line and does a copy. Or, alternatively, the event handler could be saving the URL to the clipboard with every keystroke.

To populate the parameter there could be a button that converts the current content to the URL parameter and saves it to the clipboard.

@lucasgonze
Copy link
Owner Author

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

1 participant