Page tree
Skip to end of metadata
Go to start of metadata

content is a grouping of methods related to the content of a Editor instance. 


editor.content.get()Retrieves the HTML contents of an instance's content <body> element.
editor.content.set()Sets the HTML contents of an instance's content <body> element.
editor.content.documentElement()Retrieves the editors HTML Document Object.
editor.content.insertHtmlAtCursor()Inserts HTML at the last known cursor position in an instance.
Check if the content has been updated or changed since it was set.
Set the content dirty state.
editor.content.uploadImages()Adds Base64 images to the Services upload queue.
editor.content.getSelectedText()Returns a string containing the editors current selection. If the selection does not span multiple characters, an empty string is returned
  • No labels