Quantcast
Viewing latest article 3
Browse Latest Browse All 65

Re: Ace Code Editor for MODX Revolution - Support Thread

I have an issue with ACE when using the "assets_url" setting in a context.

It seems that ACE is using that setting to load it's files. Setting the namespace assets url has no effect.
How can I tell Ace to use the correct path for the files? "Correct" means the default one in this scenario.

https://www.managerdomain.tld/ctx/assets/setting/components/ace/ace/mode-css.js
https://www.managerdomain.tld/ctx/assets/setting/components/ace/ace/mode-javascript.js

etc.

edit: Even if I set the system setting ace.assets_url to the correct path, there are still 4 files loaded via ace.min.js with the wrong assets_url retreived from the ctx setting:

.../components/ace/ace/theme-chrome.js
.../components/ace/ace/mode-css.js
.../components/ace/emmet/emmet.js
.../components/ace/ace/mode-javascript.js

Viewing latest article 3
Browse Latest Browse All 65

Trending Articles