I’m working on a package in which I’d like to style cursors differently based on certain properties of the cursor. My first thought for doing this was to add a class to cursor elements accordingly, but I can’t figure out how to link up a cursors’s DOM element and its data. Is it possible to get the associated DOM element for a cursor, or to get the associated cursor for the DOM element?
I found the answer to my own question: TextEditor::decorateMarker.
Sounds interesting. Looking forward on what you’re working on, please keep us posted!