Param

Method

Event

 

 

GetCaretObjectv3.5.1.03 or higher

현재 입력 캐럿의 Elements Node 정보를 얻어옵니다.

 

Return Values

Elements Node 정보를 반환합니다.

 

Sample Codes

var CrossEditor = new NamoSE("test");
CrossEditor.EditorStart();

function OnInitCompleted(e) {
   var info = CrossEditor.GetCaretObject().outerHTML;
   alert(info);
}

 

See Also

GetCaretPos  SetCaretPos  SetCaretPosById