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

Line numbers not showing

Open RaresM7373 opened this issue 4 years ago • 1 comments

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

RaresM7373 avatar Jun 21 '21 15:06 RaresM7373

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

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

prenx4x avatar Jul 14 '21 03:07 prenx4x