Expands the collapsible text, displays the full text, and hides the ellipsis.
Note: This function is only relevant if the readMoreActionType property is set to ExpandOnCurrentPage.
The expandText() function expands the collapsible text, displays the full text, and hides the ellipsis.