Beginner in vue here. I would want to use ace code editor (this package ) in vue. For learning purposes, I don’t want to use the vue2-component & vue3-component versions of the ace editor. How to do to it? Why do I want to do this? I am a programmer from pre-jquery era.Catching upto modern web development, starting with Vue.
Tag: ace-editor
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? I can’t seem to find any docs on this Answer You can toggle it with css, let’s say the class of your ACE editor is .ace-xcode, here you can toggle a class
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 using next.js if that helps. Here is what that code looks like: Answer You’re using react-ace-editor npm package, which is not the original package for