Custom HTML – core/html

Add custom HTML code and preview it as you edit.

Use the Custom HTML block to write HTML and/or JavaScript.

Screenshot

Example

Free form HTML with your own choice of tags. A bit like the Classic editor’s Text editor.

Allows inline shortcodes ( e.g. WordPress ) and JavaScript.


Notes

  • You can’t switch to Visual but you can preview what you’ve written.
  • This is a static block not an embed. The keyword must be wrong!