I have many TextMarkers in a doc, and I want to show a modal for the user to re-edit the text when the user clicks the TextMarker.
To achieve this, I find
beforeCursorEnter in the manual.
I would bind a event handler, say
showModal, for each TextMarker.
beforeCursorEnter does not provide the TextMarker instance to the event handler.