Closed chenjiashrimp closed 1 year ago
document.write("Coordinate(X) = " + event.clientX + "
Coordinate(Y) = " + event.clientY)
This is the code to write cursor position in javaScript
@chenjiashrimp can I be assigned this issue
@bsaptyadeep thank you very much
i want to insert something in the middle of the text and i need to get the cursor position, how to get it?
editorState.getSelection().getAnchorOffset()
i want to insert something in the middle of the text and i need to get the cursor position, how to get it?