I am not able to find an answer to this question. One of my use cases is to show a small popup beneath the current caret position in a contenteditable. I need to find the position (the DOM position) of the caret before I can display this popup properly.
All searches I have done usually end up trying to find the text position of the caret and not the actual XY relative to the DOM. How can this be achieved?
EDIT: Component's textarea-caret-position plugin does not help as it looks like a plugin specifically for inputs and textarea's. I will need something for contenteditable.