dijit._editor.selection
dojo.require("dijit._editor.selection");
defined in dijit/_editor/selection.js
FunctionsBack to top
clear current selection
Return the parent element of the current selection which is of type tagName (or one of the other specified tagName)
Get the parent element of the current selection
Retrieves the selected element (if any), just in the case that a single element (object like and image or a table) is selected.
Return the html of the current selection or null if unavailable
Return the text (no html tags) included in the current selection or null if no text is selected
Get the selection type (like dojo.doc.select.type in IE).
Check whether current selection has a parent element which is of type tagName (or one of the other specified tagName)
delete current selection
clear previous selection and select element (including all its children)
clear previous selection and select the content of the node (excluding the node itself)