mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
remove output manager code injection in repl source (#664)
This commit is contained in:
@@ -193,12 +193,7 @@ export class PyRepl extends BaseEvalElement {
|
||||
}
|
||||
|
||||
getSourceFromElement(): string {
|
||||
const sourceStrings = [
|
||||
`output_manager.change(out="${this.outputElement.id}", append=True)`,
|
||||
...this.editor.state.doc.toString().split('\n'),
|
||||
];
|
||||
|
||||
return sourceStrings.join('\n');
|
||||
return this.editor.state.doc.toString();
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user