Model
Text
Magento\PageBuilder\Model\Dom\Text
What it does
This class is a wrapper around the PhpGt DOM Text node, providing a standardized interface for working with text elements in Page Builder content.
Developers would use this class when they need to check if a text node contains only whitespace characters, which is useful for content rendering and validation in Page Builder components.
Public Methods
- isElementContentWhitespace()