I need to have current cursor position in TinyMCE Oracle Apex. I use this js code for another type of page items and it work correctly.
var curPos = document.getElementById("P7_TEXT").selectionStart;
but when "P7_TEXT" is a Rich Text Editor (TinyMCE) , it will return "undefined"
what can I do to get the current position of cursor in rich text page item?
APEX version is 23.1.