Desired scenario is:
The user will get the source code, alter it, and upload it back in the text editor.
Check attached images for context.