temporarily disable/toggle syntax highlighting in ace

Is there a way to toggle syntax-highlighting in ace.js? I know you can switch between syntax-highlighting modes with editor.setMode(), but what about just straight turning the syntax-highlighting off? …

Setting showPrintMargin to false not working in React Ace Editor

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 …