
Ace
Ace Editor adapted for the MODX Revolution manager: syntax highlighting in snippets, plugins, chunks, templates, files, and (optionally) resource content.
Package: 1.9.10-pl. Repository: modx-pro/modx-ace.
Features
- Code editor: PHP, JS, HTML, CSS/SCSS/LESS, SQL, JSON, Markdown, and more
- Themes, tabs, fold, invisibles: configured via
ace.*keys - Find and replace with regex, multicursor, Emmet
- MODX: tag highlighting, completions (Ctrl+Space), Tab snippets (
getr,pdoResources,chunk, …) - Ace TV input for code fields
- Drafts (
ace.draft_restore), CSS color preview (ace.color_preview) - Works on MODX 2.8+ and MODX 3.x
Requirements
| Requirement | Version |
|---|---|
| MODX Revolution | 2.8+ or 3.x |
| Browser | modern, ES5+ |
Installation
- Install via Extras → Installer (modstore.pro, free)
- Check
which_element_editor = Ace(resolver sets it on install) - Manage → Clear cache
After install: plugin Ace, system settings under namespace ace, TV input type Ace.
Quick links
| Section | Description |
|---|---|
| Quick start | Editor for elements and resources |
| System settings | ace.* keys |
| Integration | RTE vs Ace, mime, Tab snippets, TV |
| Keyboard shortcuts | Ctrl+Alt+H and common shortcuts |
| Troubleshooting | Fullscreen, TinyMCE, save |
Material-style theme: FAQ.
History
Original author: Danil Kostin. Current maintenance: modx-pro/modx-ace.
