Title: HTML API Debugger
Author: Jon Surrell
Published: <strong>7 Tháng 6, 2024</strong>
Last modified: 7 Tháng 8, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/html-api-debugger/assets/icon.svg?rev=3099293)

# HTML API Debugger

 Bởi [Jon Surrell](https://profiles.wordpress.org/jonsurrell/)

[Tải về](https://downloads.wordpress.org/plugin/html-api-debugger.2.8.zip)

[Xem trước trực tiếp](https://vi.wordpress.org/plugins/html-api-debugger/?preview=1)

 * [Chi tiết](https://vi.wordpress.org/plugins/html-api-debugger/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/html-api-debugger/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/html-api-debugger/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/html-api-debugger/)

## Mô tả

Add a WP Admin page for debugging the HTML API.

### Contributing

Please file issues and pull requests on the [GitHub repository](https://github.com/sirreal/html-api-debugger).

## Ảnh màn hình

 * [[
 * [[

## Đánh giá

Không có đánh giá nào cho plugin này.

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

“HTML API Debugger” 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

 *   [ Jon Surrell ](https://profiles.wordpress.org/jonsurrell/)
 *   [ Bernie Reiter ](https://profiles.wordpress.org/bernhard-reiter/)

[Dịch “HTML API Debugger” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/html-api-debugger)

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

[Duyệt code](https://plugins.trac.wordpress.org/browser/html-api-debugger/), check
out [SVN repository](https://plugins.svn.wordpress.org/html-api-debugger/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/html-api-debugger/)
qua [RSS](https://plugins.trac.wordpress.org/log/html-api-debugger/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.8

 * Silence _doing_it_wrong bookmark notices when providing from HTML context.
 * Adjust doctype info to account for typo fix.

#### 2.7

 * Preserve attribute value line breaks in tree views.
 * Prevent plugin module from being enqueued on all pages.

#### 2.6

 * Handle null bytes in selectors and context HTML.
 * Fix another error when using WordPress 6.7.

#### 2.5

 * Fix a crash when using WordPress 6.7.

#### 2.4

 * Add experimental support for HTML API selectors.
 * Display document title.

#### 2.3

 * Inline tree copy buttons.
 * Add line breaks to overflowing attribute names and values.

#### 2.2

 * Drop support for WordPress 6.6.
 * Drop basic fragment parsing and quirks mode support.
 * Add advanced context and fragment parsing when supported (WordPress 6.8+).
 * Add functionality to copy textual representations of the generated trees.

#### 2.1

 * Add text-wrap styling fallback for unsupported browsers.

#### 2.0

 * Add ability to replay token processing.
 * Fix quirks mode fragment parsing.
 * Drop support for WordPress 6.5.

#### 1.9

 * Update WordPress Playground links to use current query args.
 * Improve span highlighting reliability.
 * Fix an uncuaght exception on undefined clearSpan function.

#### 1.8

 * Highlight spans in HTML input on hover.
 * Fix a bug in tree construction with self-closing tags in foreign content.

#### 1.7

 * Update DOM tree when HTML document is mutated.
 * Fix deprecation notice on WordPress 6.7.
 * Register script modules unconditionally.

#### 1.6

 * Replace TABLE based layout with CSS grid.
 * Fix a crash on meta tags with a content attribute.
 * Display namespace on tag closers.
 * Display normalized HTML when supported.

#### 1.5

 * Improve initial rendering and reduce layout shift.
 * Allow copying playground links to latest, beta, and nightly versions.
 * Allow copying playground links to specific wordpress-develop PRs.

#### 1.4

 * Show invisible characters in the tree in attribute names, values, and tag names.
 * Handle DOCTYPE nodes.
 * Prevent newlines from automatically being added to the HTML input.
 * Use async event directives if available.
 * Handle DOCTYPE tokens and display information about quirks-mode.

#### 1.3

 * Replace wp-api-fetch script dependency with native fetch.
 * Improve error messages.
 * Display templates consistently between DOM and HTML API trees.
 * Use “qualified” names. SVG and MathML tags and attributes have some specialized
   casing.

#### 1.2

 * Handle CDATA sections.
 * Use WordPress Script Modules API for all modules.

#### 1.1

 * Print tag namespaces.

#### 1.0

 * Prevent flash of “�” replacing null-byte in input on initial render.
 * Support HTML API quirks mode.
 * Support for full HTML processor.
 * Configurable hover information on nodes: depth and breadcrumbs or insertion mode.

#### 0.9

 * Fix a bug where “}” was replaced as an invisible character.
 * Add a quirks mode toggle that allows changing the DOCTYPE used.

#### 0.8

 * Show invisible characters in processed HTML spans.
 * Fix null-byte rendering in the initial page render.

#### 0.7

 * Fix some issues where parsing errors could crash the client.

#### 0.6

 * Add better unsupported error messages when possible. (WordPress >= 6.7)

#### 0.5

 * Use regular REST API result response shape.
 * Display text content of “atomic” HTML API nodes like TEXTAREA or XMP.

#### 0.4

 * Improve debugger visibility controls.
 * Add handling for real/virtual nodes.

#### 0.3

 * Add button to copy instant playground link.

#### 0.2

 * Remove redundant module.
 * Rearrange debugging panes.
 * Add option to show invisible characters.

#### 0.1

 * Initial release.

## Meta

 *  Phiên bản **2.8**
 *  Cập nhật lần cuối **8 tháng trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.7 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.5**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/html-api-debugger/)
 * Thẻ
 * [debug](https://vi.wordpress.org/plugins/tags/debug/)[development](https://vi.wordpress.org/plugins/tags/development/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/html-api-debugger/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/html-api-debugger/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/html-api-debugger/reviews/)

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

 *   [ Jon Surrell ](https://profiles.wordpress.org/jonsurrell/)
 *   [ Bernie Reiter ](https://profiles.wordpress.org/bernhard-reiter/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/html-api-debugger/)