-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
backlogissue has been triaged but has not been earmarked for any upcoming releaseissue has been triaged but has not been earmarked for any upcoming releaseclassicIssues only applicable to PyScript versions 2023.05.1 and earlier ("PyScript Classic")Issues only applicable to PyScript versions 2023.05.1 and earlier ("PyScript Classic")type: featureNew feature or requestNew feature or request
Description
It's possible to fetch the code from a REPL tag as described by Jeff in the comment, but it'd be ideal to have an official API implemented.
Original issue:
I know this is not something directly PyScript related, but is there a way of getting the current code in a py-repl via JS? I am working on something and that is needed. I understand it would probably be as simple as getting the text in an element, but what element would that be? Another thing: can you preload code into a REPL so it is not needed to be typed out every time you load the page?
Metadata
Metadata
Assignees
Labels
backlogissue has been triaged but has not been earmarked for any upcoming releaseissue has been triaged but has not been earmarked for any upcoming releaseclassicIssues only applicable to PyScript versions 2023.05.1 and earlier ("PyScript Classic")Issues only applicable to PyScript versions 2023.05.1 and earlier ("PyScript Classic")type: featureNew feature or requestNew feature or request