Skip to content

convertStringToTextNode

convertStringToTextNode(text, textAlign): any

Convert a string to text node

Parameters

• text: string

• textAlign: string= "left"

Returns

any

Source

packages/core/src/utils/text-utils.ts:40