I have a few layers (divs) with borders in the editor. If a user selects a div by clicking on the border, I need to get the id of the div. I will be adding a custom button to customize the div's attributes. How can I get a reference to the selected div? Can editor1.GetSelection() be used?
I am not changing the contents of the div but rather some attributes of the div like its top and left positions.
Thanks.