HTML created for RichTextArea: what is a #document?

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: (.

+5
source share
1 answer

Document node iframe. Document nodeName "# document" , , document.nodeName. Chrome, , iframe, iframe contentDocument iframe.

, WYSIWYG iframe . contenteditable, document.designMode.

+5

All Articles