1
Hello,
Utilizo Angular 8.
I need to get the contents from inside the iframe:
The iframe itself shows me in the console this:
But I don’t know how to get the information out of him...
IFRAME
<iframe id="iframe" width="100%" height="400" src="https://dotnetfiddle.net/Widget?Languages=CSharp&projectType=Console&Compiler=Net45&CSharp_CodeBlock=using%20System%3B%0A%09%09%09%09%09%0Apublic%20class%20Classe%20%0A%7B%0A%09public%20double%20Executar%28%29%0A%09%7B%0A%09%09%2F%2F%20Escreva%20o%20c%C3%B3digo%20aqui%0A%09%7D%0A%7D" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
EDIT
I know it runs away from the initial question, but thinking of helping the community I leave a solution without iframe to what I needed that was a code editor within my application, and as I knew no other ways of doing it, I thought that there was no directed to it.
Researching, I found the Monaco Editor.
So it’s not possible?
– LeoHenrique