Log in
Interface

HtmlDocumentInterface

Magento\PageBuilder\Model\Dom\Adapter\HtmlDocumentInterface

What it does

This interface defines a contract for HTML document wrapper classes in Page Builder that need to manipulate DOM elements.

Developers would implement this interface when creating custom HTML document adapters that need to query and retrieve elements by their CSS class names, enabling programmatic manipulation of Page Builder content.

Public Methods

  • getElementsByClassName()