zTextarea()
Using this type you can specify in your schema a string that will be displayed in the Remotion Studio as a multiline text area.
When using zTextarea()
, the value will be a string, even if the user enters several lines.
To display the value in a
component without losing the line breaks, you can use the white-space: pre-line
CSS property on the element
displaying the value.