Hi,
I need to get the currently selected tag.
So, i am using editor.getSelectedElement();
in my editor has code in html like
when the user right cliks with in any of this tag, i need to get the selected tag in editor.
so, iam using editor.getSelectedElement();
the tag format assigned in editor like'
<tag1><tag2><p>text</p></tag2><tag1>
tag1 is click, the getselectedelemat return the <p> tag always.
because the <p> is the editable tag, which contain the text.
but the user selected the not editable tag, that is the root tag of <p> tag.
How to get the exact tag that is selected in editor.
Thanks,
Uma