scniro / react-codemirror2

Codemirror integrated components for React
MIT License
1.66k stars 193 forks source link

How to set Doc.onCursorActivity ? #171

Open tbwork opened 4 years ago

tbwork commented 4 years ago

We know Editor's onCursorActivity could be set like this:

<CodeMirror
          value={script.code} 
          onCursorActivity = {this.xxxx}
        />

How about the Editor.Doc

scniro commented 4 years ago

@tbwork I am a lot shorter on time these days as when I started this project. Codemirror & React APIs are moving to quickly for me to keep atop of for the day-to-day. I am looking for a co-maintainer of this project. Please contact me directly if you are interested. Thank you for understanding.