Member Avatar for matthewd673

I've been using the Ace editor for a little while but for some reason the solution that their website gives for changing the editor's theme won't work. I've Google the problem a few times and haven't found much. Here's my code so far:

var editor = ace.edit("editor");
editor.setTheme("path/to/css");

I have the stylesheet linked in the <head> as well, and a <script> pointing to the .js file for it. What am I doing wrong?

Ace editor!
What's that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.