wproRange

Availability: >= 3.0

Type: JavaScript Object

Descriptions: Contains cross-browser methods for manipulating a range.

You can get a wproRange object for the current selection using:

var range WPro.editors['editorName'].selAPI.getRange(); 

Properties and methods:

cloneContents
cloneRange
collapse
deleteContents
extractContents
getBlockContainer
getCommonAncestorContainer
getContainer
getContainerByTagName
getEndContainer
getHTMLText
getStartContainer
getText
insertNode
nodes
pasteHTML
range
select
selectNodeContents
toString
type

 


This online documentation specifically covers version 3.0 and above, developers using earlier versions should refer to their PDF or MS-Word manual that was included in the product download.

WysiwygPro.com