Removes the read more button that links to the remaining text when clicked.
Note: This function is only relevant if the readMoreActionType
property is set to LinkToContent
.
The removeReadMoreButton()
function removes the read more button from the collapsible text, and the introductory text
becomes a hyperlink that links to the remaining content. The link is defined by the link
value of the LinkToContent
object in the readMoreActionData
property.
Removing the read more button sets the value of the readMoreButtonVisible
of the LinkToContent
object in the readMoreActionData
property to false
.