icontent.js
No description.

File Location

/goog/editor/icontent.js

Classes

goog.editor.icontent.FieldFormatInfo
A data structure for storing simple rendering info about a field.
goog.editor.icontent.FieldStyleInfo
A data structure for storing simple info about the styles of a field. Only needed in Firefox/Blended mode.

Public Protected Private

Global Functions

goog.editor.icontent.forceStandardsModeIframes()
Sets up goog.editor.icontent to always use standards-mode iframes.
code »
goog.editor.icontent.getInitialIframeContent_(infobodyHtmlstyle) string
Generate the initial iframe content.
Arguments:
info : goog.editor.icontent.FieldFormatInfo
Formatting info about the field.
bodyHtml : string
The HTML to insert as the iframe body.
style : ?goog.editor.icontent.FieldStyleInfo
Style info about the field, if needed.
Returns: string  The initial IFRAME content HTML.
code »
goog.editor.icontent.writeHttpsInitialIframe(infodocbodyHtml)
Write the initial iframe content in IE/HTTPS mode.
Arguments:
info : goog.editor.icontent.FieldFormatInfo
Formatting info about the field.
doc : Document
The iframe document.
bodyHtml : string
The HTML to insert as the iframe body.
code »
goog.editor.icontent.writeNormalInitialBlendedIframe(infobodyHtmlstyleiframe)
Write the initial iframe content in normal mode.
Arguments:
info : goog.editor.icontent.FieldFormatInfo
Formatting info about the field.
bodyHtml : string
The HTML to insert as the iframe body.
style : ?goog.editor.icontent.FieldStyleInfo
Style info about the field, if needed.
iframe : HTMLIFrameElement
The iframe.
code »
goog.editor.icontent.writeNormalInitialIframe(infobodyHtmlstyleiframe)
Write the initial iframe content in normal mode.
Arguments:
info : goog.editor.icontent.FieldFormatInfo
Formatting info about the field.
bodyHtml : string
The HTML to insert as the iframe body.
style : ?goog.editor.icontent.FieldStyleInfo
Style info about the field, if needed.
iframe : HTMLIFrameElement
The iframe.
code »

Directory editor

File Reference