Hi All,
I have a doubt regards get the tag name by click in editor content.
In editor , i am able to get the tag name by the below method
I have a doubt regards get the tag name by click in editor content.
In editor , i am able to get the tag name by the below method
editor.attachEventHandler(
"click", function (e) {
alert(e.srcElement.nodeName);
});
But i need to get tag for below ,
<Store>dfg fdg</Store>
WHen i click inside / over the text "dfg fdg" (i.e.,Inside the editor content).i want to get the tage name "Store".Similar the node inspector.
It working for only HTML tags.
I know RadEditor is not xml Editor. But i need to get the custom tag.
Is any possibility to get the current cursor position to find the text or Kindly explian detail what function done by click the cursor in editor content shows the breadcrumb in editor's footer (i.e., Store > )?
Kindly expect your co-operation regards this ASAP.