react-codemirror icon indicating copy to clipboard operation
react-codemirror copied to clipboard

Access State and View of React-CodeMirror

Open Ctag14 opened this issue 3 years ago • 1 comments

I'm trying to get access to the state of the editor in order to find the position of the cursor in order to broadcast it (using node/websockets). My question is how do you access state and view in the component?

image

Ctag14 avatar Oct 25 '22 20:10 Ctag14

@Ctag14 see here

ahmedsaheed avatar Nov 01 '22 13:11 ahmedsaheed