ACE HTML Block

Registers a raw html block which uses the ACE Editor. Features include syntax highligting, line numbers, indentation, and HTML validation.
Any HTML markup included in your block will be interpreted and rendered on your user-facing page or post just like the core “Custom HTML” block. This plugin is not for embedding pretty markup on your front-end site, rather it is for those developers that need to include raw HTML in their pages or posts and want to improve the readability of their HTML snippets and have a better in-browser code editing experience.
To Use:
Create a new block in the editor and look for “ACE HTML Block” in the Formatting section. It has a heart icon.
Note on block transforms:
There (hopefully) may come a time in the future when WordPress introduces native syntax highlighting on core “Custom HTML” blocks. This block is configured to transform to (and from) the core HTML block so the transition away from this plugin will be easy if you ever want to disable it. To transform this block click on the heart icon in the upper left corner of the block and select “Custom HTML” from the dropdown menu.
Thanks:
Under the hood it uses react-ace.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



