In Chrome Develoer Tools, you can see that the html created for the GWT widget RichTextArealooks something like this:
<iframe class="GCJ2VDKDEI" style="height: 40px; ">
#document
<html>
<head></head>
<body>entered text</body>
</html>
</iframe>
Can anyone describe how this works? How is it possible that the page embedded in <iframe>is edited for the user (looks and behaves like a text area)?
I would especially like to know what this strange thing is #document. For the first time I see something like this, and Google does not give me answers: (.
source
share