Skip to content
Sign upLog in

Not possible to paste highlighted code from Repl.it / Pay membership with paypal

Profile icon
sebassilvapHacker

Dear Community,
Just one month ago, one of the best features of Repl.it is now gone.
Before it was possible to copy and paste the highlighted and formatted code from Repl.it to for example Word or Powerpoint.
Now it is not possible to do it. The code is just text with the same color.
Is it possible to have this feature back?
Additionally in the past at the moment of pasting, the indentations dissapeared. Can this be also corrected?
Some people like me prepare some courses or presentations using this wonderful tool, and it would be nice if you let us use this feature I described.

Additionally, I would like please to request the people from Repl.it to abilitate the possibility to pay the membership with paypal.
I wanted to buy my membership a long time ago, but for this online suscriptions me and others I think prefer the paypal option.

Thank you for your help,
Best regards,
Sebastián.

You are viewing a single comment. View All
Profile icon
ironblockhd

Replit didn't make the editor, they use vscode editor. They switched the editor a while ago so it could be related to that. You can try to use this tool: https://tohtml.com

Profile icon
sebassilvap

@ironblockhd
thank you! That is a nice solution! But hopefully we can have the option to do it on Repl.it once again without third parties. Thanks once again!

Profile icon
ironblockhd

@sebassilvap
i made a small script that makes it possible to copy it once again:

document.querySelector(".monaco-scrollable-element").querySelectorAll("*").forEach(function(elm){elm.style.color=getComputedStyle(elm).color});document.write(document.querySelector(".monaco-scrollable-element").innerHTML);document.body.contentEditable=true

simply go to the desired repl, run the script in your dev console and you will be able to copy it once again! :)

Screenshot_20200822_175148

Profile icon
sebassilvap

@ironblockhd
Thanks a lot! Wonderful answer!

Profile icon
CMMT20

@ironblockhd
That works fine!! Thanks for sharing!