
- MODX 3
- PHP 8.2


For content editors in the MODX manager. Tool profiles and media: System settings.
which_editor = mxEditorJsmxeditorjs.enabled = YesEditor did not load — see FAQ.
Add block: Enter at end of block or «+» on the left.
Move: ⋮⋮ handle on the left, drag.
Delete: ⋮⋮ → Delete.
Formatting: select text — B, I, Link, Code, Marker, U.
| Block | Purpose |
|---|---|
| Paragraph | Body text, alignment |
| Header | Headings H2–H5 |
| List | Bulleted or numbered list |
| Checklist | Checkbox list |
| Quote | Quote with caption |
| Table | Table, first row can be header |
| Code | Code block |
| Raw HTML | Arbitrary HTML |
| Delimiter | Horizontal rule |
| Warning | Warning title and text |
| Attaches | Downloadable file (PDF, DOC, ZIP) |
| Image | Single image with caption |
| Gallery | Multiple images, fit or slider modes |
| Embed | Video and iframe (paste URL, see below) |
Block set is defined by admin via profile (default, minimal, blog, full) or mxeditorjs.enabled_tools.
After insert: caption, border, stretch, background, CSS preset (if configured).
Formats: JPG, JPEG, PNG, GIF, WebP, SVG. Default max size 5 MB (mxeditorjs.max_upload_size).
Image limit — mxeditorjs.gallery_max_count (0 = no limit).
There is no separate Embed button. Paste a URL into an empty block (Ctrl+V / Cmd+V) — the editor creates the block automatically.
Supports YouTube, Vimeo, RuTube (https://rutube.ru/video/...), Twitter/X, Instagram, CodePen and other @editorjs/embed services. Frontend output is an iframe.
Works in Textarea TVs with Rich Text = Yes.
Each TV has its own editor instance and JSON storage. HTML auto-migration for TVs does not run.
| Button | Action |
|---|---|
| Fullscreen | Editor full screen (F11, Escape to exit) |
| Source | HTML preview (Ctrl+U / Cmd+U), read-only |
If the resource has HTML from TinyMCE/CKEditor but no JSON in sidecar, a dialog appears on first open:
Migrator handles headings, paragraphs, lists, quotes, images, tables, code, delimiters. Does not restore embed, gallery, attachments, or checklists from HTML.
Migration applies to main content only, not TVs. Details: Integration.
| Key | Action |
|---|---|
| Enter | New block |
| Backspace in empty block | Delete block |
| Tab / Shift+Tab | List nesting |
| Ctrl+B / Cmd+B | Bold |
| Ctrl+I / Cmd+I | Italic |
| Ctrl+K / Cmd+K | Link |
| Ctrl+Z / Cmd+Z | Undo |
| Ctrl+Shift+Z / Cmd+Shift+Z | Redo |
| Ctrl+U / Cmd+U | Source Preview |
| F11 | Fullscreen |
| Escape | Exit fullscreen |