Hi all, I'm trying to add a CSS editor to the backend of a WordPress theme I'm building.
I have ace properly (at least I'm 99% certain) registered and enqueued in WordPress and I have a script being called that should create the text editor:
var editor = ace.edit("customCSS");
is the line of code in the script.
However, on the page where the text editor should appear I am getting the following error message:
portfoliage.custom_css.js?ver=1:1 Uncaught ReferenceError: ace is not defined
at portfoliage.custom_css.js?ver=1:1
How can I fix this?