Despite various attempts, I have struggled to determine the current cursor position inside TinyMCE.
My goal is to implement a change control feature that captures the starting point of text entry within the TinyMCE "textarea," allowing me to save the entered text to a database for review and approval by another user.
I have experimented with methods like selectionStart
, bookmark
(which proved temporary), and selection.getSelect()
(providing only line-specific positions rather than exact cursor location).
Is there a reliable way to retrieve the precise pointer position in this scenario?