Best highlighted code editor that has been adapted for MODX

Creator: Danil Kostin (danya_postfactum)
Updated by: Ivan Bochkarev (ibochkarev)

Need help installing this extra?


About Ace

Ace ( Cloud9 Editor) integration for MODx Revolution. Ace Provides best syntax highlighting and desktop-editors behavior (Sublime, Vim, Textmate) in your Elements, Files and Resources (when wysiwyg is disabled). It comes with 28 color schemes.

This editor is used in GitHub, Cloud9 IDE, Acebug and other projects.

For now the editor supports drag'n'drop of chunks, snippets, resources and files from MODx Tree.

This project is hosted on github here. Please feel free to leave comments/suggestions.

Here is the support forum thread for Ace.


May 15, 2022

Supported Database


Supported Versions
2.0 - Current



Install via Package Management.

Set editor theme you wish in system settings (change namespace to "ace").

If you want to use this editor for resources, just set system option use_editor to false (global usage), or richtext setting of certain resource to false (specific usage).

New in 1.9.3-pl

Ace 1.9.3 [15.05.2022]
  • Updated: Move settings into an own file [#12]
  • Fixed: Ace TV input [#11]
  • Fixed: Prevent PHP warning: Undefined variable $field [#10]
Ace 1.9.2
  • Updated: Corrected search form [#8]
  • Added: TV input Ace field [#9]
Ace 1.9.1
  • Fixed: Changed fonts
  • Updated: emmet.js with the support flex css styles and many other combinations
Ace 1.9.0
  • Added: autodetecting file mode by modelist.js [#7]
  • Added: new modes from ace-builds for version 1.2.0
Ace 1.8.0
  • Added: autocompletion for php functions.
Ace 1.7.0
  • Added: new system setting "ace.grow".
  • Added: new system setting "ace.html_elements_mime".
Ace 1.6.5
  • Added: "Twig" syntax for support of Twig in chunks.
  • Changed: Plugin is not static anymore.
Ace 1.6.4
  • Fixed: Support of emmet in smarty mode. Again.
Ace 1.6.3
  • Fixed: Support of emmet in smarty mode.
Ace 1.6.2
  • Fixed: Editor mode handling.
  • Added: "Markdown" syntax for mime type "text/x-markdown".
Ace 1.6.1
  • Fixed : Work with enabled system setting "compress_js".
Ace 1.6.0
  • Added: "Smarty" syntax for support of Fenom in chunks.
  • Updated: Ace to version 1.2.0.
Ace 1.5.1
  • Fixed: Bug with narrowing of the textarea.
Ace 1.5.0
  • Changed: Assets are moved back to /assets/
  • Fixed: MODx tag completions (was completely broken)
  • Added: Editor height setting
Ace 1.4.3
  • Added: MODx tag completions (Ctrl+Space)
  • Fixed: Issue caused AjaxManager (MODx Manager speed booster plugin) tree drag'n'drop bug
Ace 1.4.2
  • Added: Undo coalescing
  • Changed: Mac fullscreen command is bound to Command+F12
  • Added: Drag delay (allow to start new selection inside current one) for Mac
  • Fixed: Use file extension of static chunks to detect code syntax
Ace 1.4.1
  • Fixed: Tab handling
  • Fixed: Emmet shortcut listing by Ctr+Alt+H
  • Added: Expandable snippets support (see ace.snippets setting)
  • Added: Emmet wrap_with_abbreviation command (Alt+W)
Ace 1.4.0
  • Added: Emmet (aka Zen Coding) support
  • Added: Terminal dark theme
  • Added: Hotkey table (Ctrl+Alt+H)
  • Fixed: Resource overview fatal error
  • Changed: Assets are moved to /manager/assets/components/
Ace 1.3.3
  • Added: PHP live syntax check
  • Added: Chaos dark theme
  • Added: Setting show_invisibles
Ace 1.3.2
  • Fixed: The bug while installing the Ace
  • Fixed: Broken word_wrap setting
  • Added: Tab settings (tab size, soft tab)
  • Added: Now completele compatible with AjaxManager extra
Ace 1.3.1
  • Changed: Plugin content now is stored in static file
Ace 1.3.0
  • Added: German translation
  • Added: MODx tags highlighting
  • Added: Ambiance and xcode themes
  • Added: less/scss syntax highlighting
  • Added: Fullwindow mode (Ctrl + F11)
  • Changed: Editor now ignores wich_editor setting. Set use_editor to false to use ACE for Resources.
Ace 1.2.1
  • Changed: Assets are moved to manager folder
  • Added: Font size setting
  • Added: "GitHub" theme
  • Added: Support of html5 drag'n'drop (accepting of dropped text)
  • Added: XML / HTML tag autoclosing
  • Fixed: broken en lexicon and php 5.3 incompatibility
Ace 1.2.0
  • Removed: Some unnecessary options
  • Changed: Editor options are moved to system settings
  • Fixed: Multiple little editor bugs
  • Added: Add missing "OnFileEditFormPrerender" event to MODx
  • Added: Multiline editing
  • Added: Advanced find/replace window
Ace 1.1.0
  • Fixed: Fatal error on document create event
  • Fixed: Changing of properties has no effect
  • Added: File edition support
  • Added: MODx tree elements drag'n'drop support
  • Added: Auto-assigning which_element_editor to Ace
Ace 1.0.0
  • Added: Plugin properties to adjust how Ace behaves
  • Initial commit

Current releases

View | Download
May 15, 2022
2.0 - Current

View | Download
August 25, 2021
2.0 - Current

View | Download
November 12, 2020
2.2 - Current

View | Download
February 28, 2019
2.2 - Current