What changed from Rich Text Editor for PHP
The new editor keeps your page code and policy files, and replaces everything the browser shows.
| Aspect | Rich Text Editor for PHP | PHP HTML Editor |
|---|---|---|
| Toolbar | Office 2007 ribbon and skins (the old defaults) | Modern toolbar with large touch targets: default, basic, full, mobile and office layouts |
| Page code | include_rte.php, $rte->GetString() | The same calls, plus the modern PhpHtmlEditor\Editor API |
| Policy files | XML default.config and admin.config | The same XML format; old files load unchanged |
| Image gallery | Server folders | Server folders and sub folders; create a folder and upload into the open folder |
| Paste from Word | Yes | Yes, keeping pictures, lists and tables |
| Accessibility | Section 508 settings | Keyboard and screen-reader support, plus a checker with one-click repairs |
| Interface languages | 23 | 71 |
| BBCode output | Yes | No (use Markdown) |
| Editing a complete HTML document | Yes | No (edit the body; keep the page template in PHP) |
Not on the previous version's feature list
- ✓ Word (.docx) export and import, and tagged PDF export
- ✓ Track changes, comments and revision history
- ✓ Markdown shortcuts, import and export
- ✓ Upload checks by file content; PHP, HTML, SVG and scripts always refused
- ✓ Photos saved without EXIF and GPS data, upright and resized
- ✓ A per-session token on every upload and file operation
- ✓ An allowlist HTML sanitizer on the server
- ✓ Touch toolbar and dialogs for phones