You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a small text underneath the upload button with "pastebin instead?". Clicking it should redirect to "/paste.html". It should stay with the style of cipherdrop and feature a textarea for text input. This textarea value should be wrapped into a File and handled as a usual file. Please reuse the index.js file
The text was updated successfully, but these errors were encountered:
This should really just be a separate page but the same javascript file. At the end it does exactly the same thing, it just requires a quick:
const content = "This is the content of the file.";
const blob = new Blob([content], { type: 'text/plain' });
const file = new File([blob], "snippet.txt", { type: 'text/plain' });
Add a small text underneath the upload button with "pastebin instead?". Clicking it should redirect to "/paste.html". It should stay with the style of cipherdrop and feature a textarea for text input. This textarea value should be wrapped into a
File
and handled as a usual file. Please reuse theindex.js
fileThe text was updated successfully, but these errors were encountered: