
Ace
Code editor with syntax highlighting for the MODX Revolution manager


Ace in the manager in a few minutes.
System setting which_element_editor must be Ace.
Open a snippet, chunk, template, or plugin: the code field becomes Ace with highlighting.
Behavior depends on use_editor and which_editor (context overrides are respected):
| Goal | Settings |
|---|---|
| Ace in content | use_editor = No or which_editor = Ace |
| TinyMCE / other RTE | use_editor = Yes, which_editor ≠ Ace; enable “Use Rich Text Editor” on the resource |
| Plain textarea without Ace | use_editor = Yes, which_editor ≠ Ace, richtext off on the resource |
Since 1.9.10 Ace does not replace #ta when another RTE is selected. Details: Integration.
getr and Tab: getResources template expands (if ace.snippets is set)which_element_editor = Aceuse_editor / which_editor match your setupace (settings)