ui-ace icon indicating copy to clipboard operation
ui-ace copied to clipboard

In docs, clarify that mode and theme aren't prefixed with "ace/mode" or "ace/theme"

Open drpepper opened this issue 11 years ago • 1 comments

It seems obvious in hindsight, but although you give an example of loading an editor with just mode: "xml" instead of mode: "ace/mode/xml", this isn't what you'd expect coming from the Ace documentation itself. It might be worth insisting on the point in the README.

drpepper avatar Feb 18 '14 09:02 drpepper

Haha right.

Just noting that without it if ace try to load extra files like /mode-xml.js, /mode-javascript.js

I don't remember why adding the ace prefix is changing everything. If someone can explain this magic trick that would be the README for sure.

douglasduteil avatar Jan 08 '15 04:01 douglasduteil