Custom HTML Block Extension source code
By Aki Hamano, on WordPress.org since 2021. 7,000+ active installs.
Custom HTML Block Extension turns the Custom HTML block into an advanced code editor powered by Monaco Editor, the code editor behind VS Code. Choose from 50 color themes to suit your taste. Below is its source code for every one of its 46 releases, what changed in the latest one, and how often it ships.
What changed in 5.0.0
Released Nov 5, 2026, 3 months after 4.1.0- Tested up to WordPress 7.2
- Drop support for WordPress 7.0
- Drop support for PHP 8.0 and 8.1
- Feature: Use the advanced editor in the code editor of the post and site editors
- Feature: Use the advanced editor in the “Edit as HTML” mode of all blocks
- Feature: Highlight block delimiters and shortcodes
661 files changed since 4.1.0: 315 modified, 212 added, 134 removed.
- assets/images/admin/editor-config/editor-options/auto-closing-brackets_1.gif modified, +5,889 bytes
- assets/images/admin/editor-config/editor-options/auto-closing-brackets_2.gif modified, +3,042 bytes
- assets/images/admin/editor-config/editor-options/auto-closing-brackets_3.gif modified, +5,718 bytes
- assets/images/admin/editor-config/editor-options/auto-closing-quotes_1.gif modified, +6,012 bytes
- assets/images/admin/editor-config/editor-options/auto-closing-quotes_2.gif modified, +6,427 bytes
- assets/images/admin/editor-config/editor-options/auto-closing-quotes_3.gif modified, -1,486 bytes
- assets/images/admin/editor-config/editor-options/auto-indent_1.gif modified, +2,765 bytes
- assets/images/admin/editor-config/editor-options/auto-indent_2.gif modified, +2,835 bytes
- assets/images/admin/editor-config/editor-options/auto-indent_3.gif modified, +2,474 bytes
- assets/images/admin/editor-config/editor-options/auto-surround_1.gif modified, +3,838 bytes
And 651 more.
Compare 4.1.0 with 5.0.0Release history
46 releases since May 2021- 5.0.0 Nov 5, 2026 Tested up to WordPress 7.2
- 4.1.0 Jul 26, 2026 Tested up to WordPress 7.1
- 4.0.1 Jun 21, 2026 Fix: Undo clears all content right after the editor loads
- 4.0.0 Mar 3, 2026 Tested up to WordPress 7.0
- 3.9.0 Nov 9, 2025 Tested up to WordPress 6.9