https://developer.mozilla.org/en-US/docs/Web/API/TextUpdateEvent/selectionEnd
TextUpdateEvent: selectionEnd property - Web APIs | MDN
The TextUpdateEvent.selectionEnd read-only property indicates the position of the end of the selection (or caret) within the text content of the editable...
web apispropertymdn
https://developer.mozilla.org/de/docs/Web/API/TextUpdateEvent
TextUpdateEvent - Web-APIs | MDN
Die TextUpdateEvent-Schnittstelle ist ein DOM-Ereignis, das eine Text- oder Auswahlsaktualisierung in einem bearbeitbaren Textbereich darstellt, der an eine...
web apismdn