![How To Find The Caret Inside A Contenteditable Element | by Konstantin Münster | JavaScript in Plain English How To Find The Caret Inside A Contenteditable Element | by Konstantin Münster | JavaScript in Plain English](https://miro.medium.com/max/1400/1*UtM9VEBCuDq4aC2spcZtTA.png)
How To Find The Caret Inside A Contenteditable Element | by Konstantin Münster | JavaScript in Plain English
![Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect() Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect()](https://bennadel-cdn.com/resources/uploads/2018/translating-viewport-coordinates-to-element-local-position-2.png)
Translating Viewport Coordinates Into Element-Local Coordinates Using Element.getBoundingClientRect()
![javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange](https://i.stack.imgur.com/mvaZj.png)
javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange
![javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange javascript - How get coordinates of mouse click regardless of component viewport position - Salesforce Stack Exchange](https://i.stack.imgur.com/uIAZE.png)