The String element represents text content of an element within the Webflow Designer.
String elements can’t be created directly, and are only created when adding elements that contain text content.
You can get and set the text value of a string element using the following methods:
Retrieves the text value from a String element.
Sets the text value on a String element, overwriting any prior text value.
The following elements contain string elements as children, which can be accessed using the String element methods.
DOMElementBlockquoteElementEmphasizedElementHeadingElementLinkElementParagraphElementSpanElementStrongElementSuperscriptElementSubscriptElementInlineCodeElementCommerceBuyNowButtonElementCommerceCartOpenLinkElementCommerceCartCheckoutButtonElementCommerceCartCloseLinkElementCommerceCartRemoveLinkElementCommerceCartOptionListItemLabelElementCommerceCartOptionListItemValueElementCommerceCartQuickCheckoutButtonElementCommerceCartApplePayButtonElementCommerceCheckoutLabelElementCommerceLabelElementCommerceCheckoutPlaceOrderButtonElementCommerceCheckoutBillingAddressToggleLabelElementCommerceCheckoutOrderItemOptionListItemLabelElementCommerceCheckoutOrderItemOptionListItemValueElementCommerceCheckoutSummaryLabelElementCommerceCheckoutDiscountsButtonElementCommerceCheckoutDiscountsLabelElementDropdownLinkElementLightboxWrapperElementFormBlockLabelElementFormInlineLabelElementNavbarLinkElementTabsLinkElementUserFormBlockLabelElement