Custom HTML Block Extension
Turn the Custom HTML block into an advanced code editor.
Solid choice
Custom HTML Block Extension is a solid plugin choice in 2026, with a few things worth checking first. It runs on 7K+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 73/100 on our health check.
- Actively developed — last update 4 weeks ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 313% vs the previous 30 days
- Needs PHP 8.2 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Custom HTML Block Extension stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| block | #53 |
| emmet | #1 |
| gutenberg | >100 |
| highlighting | #15 |
| html | #8 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 14 reviews
About Custom HTML Block Extension
From the official readme · v5.0.0Description
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. Block delimiters and shortcodes are highlighted, too.
Type short abbreviations, and Emmet expands them into full code snippets. You can also wrap selected code with an abbreviation.
Fine-tune the look and behavior of the editor to make it your own. You can also import your settings from VS Code and export them back.
The same editor is also available in the code editor of the post and site editors, the “Edit as HTML” mode of all blocks, the classic editor, and the theme and plugin file editors.
Resources
monaco-editor
- License: MIT License
- Source: https://github.com/microsoft/monaco-editor
emmet-monaco-es
- License: MIT License
- Source: https://github.com/troy351/emmet-monaco-es
monaco-themes
- License: MIT License
- Source: https://github.com/brijeshb42/monaco-themes
Web Font (Fira Code)
- License: OFL-1.1 License
- Source: https://github.com/tonsky/FiraCode
Web Font (Source Code Pro)
- License: OFL-1.1 License
- Source: https://github.com/adobe-fonts/source-code-pro
Web Font (Ubuntu Mono)
- License: OFL-1.1 License
- Source: https://ubuntu.com/legal/font-licence
Web Font (Anonymous Pro)
- License: OFL License
- Source: https://www.marksimonson.com/fonts/view/anonymous-pro
Installation
- Upload the
custom-html-block-extensionfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Changelog
5.0.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
- Feature: Add the “Emmet: Wrap with Abbreviation” command
- Feature: Import settings from the VS Code settings.json file, and export them in the same format
- Enhancement: Match the default editor settings to VS Code
- Enhancement: Add 21 new editor settings
- Enhancement: Update the existing settings to follow the latest Monaco Editor
- Enhancement: Validate and autocomplete theme.json and block.json with their schemas in the theme/plugin editor
- Enhancement: Add the Ctrl+S shortcut to update the file in the theme/plugin editor
- Enhancement: Add a language switcher to the editor preview on the settings page
- Enhancement: Improve the overall design and usability of the settings page
- Enhancement: Revise the setting labels, help descriptions, and help images
- Enhancement: Update the welcome guide, and don’t open it automatically on the settings page
- Enhancement: Improve typing performance in the Custom HTML block
- Enhancement: Show a confirmation dialog with the changes before applying imported settings
- Enhancement: Validate the editor settings on the server when saving and importing
- Remove: Custom REST API routes for getting, saving, and resetting settings. Settings are now saved through the WordPress settings REST API
- Clean: Update Monaco Editor to 0.57.0
- Clean: Replace webfontloader with the CSS Font Loading API
- Fix: Emmet suggestions are duplicated after switching modes in the classic editor
- Fix: Top lines of the code editor are hidden behind the toolbar in the classic editor
- Fix: Cursor goes back to the top after saving in the classic editor
- Fix: Some strings are not translated in the classic editor and the theme/plugin editor
- Fix: Some editors keep waiting when the editor script fails to load
- Fix: Loading overlay doesn’t disappear when resetting or exporting settings fails on the settings page
- Fix: Resetting the line height doesn’t restore the default value
- Fix: Scrollbar size settings show the old values after resetting settings
- Fix: Font weight isn’t adjusted when changing to a font family that doesn’t have it
- Fix: Admin pointer is shown to users who can’t access the settings page
- Fix: Admin pointer keeps showing after visiting the settings page
4.1.0
- Tested up to WordPress 7.1
- Drop support for WordPress 6.9
- Enhancement: Add a per-block setting to choose the initial mode
- Enhancement: Consolidate the help buttons in the settings page header into a dropdown menu
- Enhancement: Show the fullscreen HTML editor button in preview mode
- Enhancement: Refresh the card design on the settings page
- Enhancement: Support the innerContent-based Custom HTML block
- a11y: Improve tab focus mode accessibility in the editor
- a11y: Fix focus loss on the settings page
- Fix: Uploaded file name is not vertically aligned with the upload button on the settings page
- Fix: Some items are missing from the right-click context menu in the classic editor
- Fix: Panels with no matching settings are shown when filtering settings on the settings page
4.0.1
- Fix: Undo clears all content right after the editor loads
- Fix: Focusing the editor scrolls the page in the classic editor
4.0.0
- Tested up to WordPress 7.0
- Drop support for WordPress 6.8
- Remove the Change Indentation UI
- Fix: Editor crashes when switching to the code editor in Firefox
- Fix: Cut line shortcut doesn’t work
3.9.0
- Tested up to WordPress 6.9
- Drop support for WordPress 6.6 and 6.7
- Drop support for PHP 7
- Enhancement: Show a notification after exporting on the settings page
- Enhancement: Adjust UI elements to the new 40px size
3.8.0
- Tested up to WordPress 6.8
- Drop support for WordPress 6.5
- Enhancement: Use the WordPress snackbar on the settings page
- Fix: No alert is shown when leaving the theme/plugin editor
- Fix: Saving with Ajax doesn’t work in the theme/plugin editor
- Fix: Incorrect size of the “Save Options” button on the settings page
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Custom HTML Block Extension alternatives
All block plugins →FAQ
Custom HTML Block Extension: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Custom HTML Block Extension free?
Yes. Custom HTML Block Extension is free to download and use from the official WordPress.org plugin directory.
Is Custom HTML Block Extension safe to use in 2026?
Custom HTML Block Extension is a solid plugin choice in 2026, with a few things worth checking first. It runs on 7K+ sites, is rated 5/5 and was last updated 4 weeks ago, and scores 73/100 on our health check.
How many websites use Custom HTML Block Extension?
Custom HTML Block Extension is active on 7K+ WordPress websites and has been downloaded 65,660 times since it launched in May 2021. It was downloaded 4,902 times in the last 30 days.
Does Custom HTML Block Extension work with WordPress 7.1?
Yes. The developer has tested Custom HTML Block Extension up to WordPress 7.2, the latest release. It requires WordPress 7.1 or newer.
What PHP version does Custom HTML Block Extension need?
Custom HTML Block Extension requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Custom HTML Block Extension last updated?
The latest version, 5.0.0, was released on November 5, 2026 (4 weeks ago).
Who makes Custom HTML Block Extension?
Custom HTML Block Extension is developed and maintained by Aki Hamano.
What are the best alternatives to Custom HTML Block Extension?
The most popular alternatives to Custom HTML Block Extension are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card





