wholeText

Returns the combined data of all direct Text node siblings.

MDN Reference