Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

ACE HTML Block

Mô tả

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.

Ảnh màn hình

  • Take a look at those colors!

Block

This plugin provides 1 block.

  • ACE HTML Block

Đánh giá

18 Tháng Năm, 2021
A fantastic replacement for the crappy Custom HTML block 🙂
Đọc tất cả 3 đánh giá

Người đóng góp & Lập trình viên

“ACE HTML Block” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“ACE HTML Block” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “ACE HTML Block” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.