I’m trying to remove the vertical line in my react ace editor:
I’ve tried setting the printMargin to false but it doesn’t seem to be working. Tried restarting the server too but nothing. I’m also using next.js if that helps.
Here is what that code looks like:
react-ace-editor npm package, which is not the original package for react-ace. that’s probably why that option is not supported. instead you should use react-ace:
import ReactAce from 'react-ace';
Then it’ll work, like this stackblitz demo .
showPrintMargin option to see the change.)