scniro / react-codemirror2

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

Line numbers not showing #250

Open RaresM7373 opened 3 years ago

RaresM7373 commented 3 years ago

Can some one help me ? I dont see the line numbers on my editor and i don't seem to figure out what i am doing wrong

prenx4x commented 3 years ago

have you tried to pass prop option like this to your Controlled component?

options={{
        lineWrapping: false,
        lineNumbers: true,
      }}