Hello ,
I have to find the previous sibling of the element when I press enter of the text .
For example
<h1>Telerik editor Text</h1>
when i press enter in the H1 tag in between the this text "Telerik editor Text" then the editor we create two H1 tag either of adding br tag in between so for that I want the element before the cursor position.
For example : in between in this I have a cursor at this text "Telerik editor Text" at the "tele |"cursor position" so i want the "tele" element .
I have used the getselectionhtml but it return null value
I have to find the previous sibling of the element when I press enter of the text .
For example
<h1>Telerik editor Text</h1>
when i press enter in the H1 tag in between the this text "Telerik editor Text" then the editor we create two H1 tag either of adding br tag in between so for that I want the element before the cursor position.
For example : in between in this I have a cursor at this text "Telerik editor Text" at the "tele |"cursor position" so i want the "tele" element .
I have used the getselectionhtml but it return null value