Returns true if this node only have TextNode nodes.
true
bool get hasOnlyTextNodes { if (isEmptyContent) return false; return _content!.any((n) => (n is DOMElement)) == false; }