This plugin integrates CKEditor5 (Classic editor) as a rich text editor for MODX Evolution.
- Modern Editor: Uses CKEditor5 Classic editor loaded from CDN
- MCPUK Integration: Integrates with MODX's MCPUK file browser for image and media management
- Multiple Toolbar Themes: Simple, Default, and Full toolbar configurations
- Lightweight: CDN-based loading keeps the plugin compact
- Multilingual: Supports English and Japanese
- The plugin is already included in the MODX Evolution distribution
- Go to Elements > Manage Elements > Plugins
- Find "CKEditor5" and enable it
- Configure the plugin settings as needed
The plugin responds to these events:
OnRichTextEditorRegister- Registers CKEditor5 as an available editorOnRichTextEditorInit- Initializes the editorOnInterfaceSettingsRender- Renders configuration interface
Basic formatting options: undo/redo, bold, strikethrough, alignment, links, images, horizontal line
Comprehensive editing tools including:
- Text formatting (bold, italic, strikethrough)
- Headings and font colors
- Links, images, tables, media embed
- Lists and indentation
- Block quotes and horizontal rules
- Source editing
All available features including:
- Font size and family selection
- Subscript/superscript
- Code blocks
- Todo lists
- Find and replace
- Page breaks
The plugin integrates with MODX's MCPUK file browser:
- Images: Browse and insert images
- Media: Browse and insert media files
- Files: Browse and insert file links
assets/plugins/ckeditor5-classic/
├── plugin.ckeditor5.php # Main plugin file
├── functions.php # Core functionality
├── README.md # This file
├── js/
│ ├── ckeditor_init.inc.js # Editor initialization
│ └── modx_fb.js.inc # MCPUK browser integration
├── lang/
│ ├── english.inc.php # English translations
│ └── japanese-utf8.inc.php # Japanese translations
├── settings/
│ └── toolbar.settings.inc.php # Toolbar configurations
├── inc/
│ └── gsettings.inc.html # Settings interface
└── style/
└── content.css # Editor content styles
- Go to Tools > Configuration
- Under "Interface & Features" tab
- Find "Which editor to use" option
- Select "CKEditor5"
- Save configuration
Individual users can override the global editor setting:
- Click on user name in top right
- Select "User Settings"
- Choose preferred editor
This plugin uses CKEditor5 version 43.3.1 from the official CDN:
https://cdn.ckeditor.com/ckeditor5/43.3.1/ckeditor5.umd.js
- Modern browsers (Chrome, Firefox, Safari, Edge)
- IE11 is not supported (CKEditor5 limitation)
To customize the toolbar, you can:
- Use the "Custom" theme in settings
- Provide your own JSON configuration
- Modify
settings/toolbar.settings.inc.php
| Feature | CKEditor5 | TinyMCE3 |
|---|---|---|
| Version | Latest (43.3.1) | Legacy (3.x) |
| Loading | CDN | Local files |
| File Size | ~600KB (CDN) | ~2MB (local) |
| Modern UI | ✓ | Limited |
| Active Development | ✓ | Discontinued |
- Check if JavaScript is enabled
- Verify CDN is accessible
- Check browser console for errors
- Verify MCPUK is installed
- Check file permissions on media directory
- Clear browser cache
- Check content.css path
CKEditor5 is licensed under GPL 2 or later. This plugin follows MODX Evolution's licensing.
- CKEditor5: https://ckeditor.com/
- MODX Evolution: https://evo.modx.com/