dijit/_editor/html (version 1.10)

Summary

HTML serialization utility functions used by editor

Method Summary

  • escapeXml(str,noSingleQuotes) Adds escape sequences for special characters in XML: &<>"'.
  • getChildrenHtml(node) Returns the html content of a DomNode's children
  • getChildrenHtmlHelper(dom,output) Pushes the html content of a DomNode's children into out[]
  • getNodeHtml(node) Return string representing HTML for node and it's children
  • getNodeHtmlHelper(node,output) Pushes array of strings into output[] which represent HTML for node and it's children

Methods

escapeXml(str,noSingleQuotes)
Defined by dijit/_editor/html

Adds escape sequences for special characters in XML: &<>"'. Optionally skips escapes for single quotes.

Parameter Type Description
str String
noSingleQuotes Boolean
Optional
Returns:undefined
getChildrenHtml(node)
Defined by dijit/_editor/html

Returns the html content of a DomNode's children

Parameter Type Description
node DomNode
Returns:undefined
getChildrenHtmlHelper(dom,output)
Defined by dijit/_editor/html

Pushes the html content of a DomNode's children into out[]

Parameter Type Description
dom DomNode
output String[]

an array of arrays of points

getNodeHtml(node)
Defined by dijit/_editor/html

Return string representing HTML for node and it's children

Parameter Type Description
node DomNode
Returns:undefined
getNodeHtmlHelper(node,output)
Defined by dijit/_editor/html

Pushes array of strings into output[] which represent HTML for node and it's children

Parameter Type Description
node DomNode
output String[]
Returns:string
Error in the documentation? Can’t find what you are looking for? Let us know!