The text direction of a value, one of ltr, rtl, or auto. Use it for a field that
sets which way content flows, mapping directly to the HTML dir attribute.
In your component code, import the Direction type from @wix/editor-react-types:
At runtime it's one of a fixed set of string values:
Your code either consumes a value of type Direction or produces one:
In your manifest, declare the field with the direction dataType:
Declare a direction field in one of these ways, depending on where the value comes from:
Last updated: 2 November 2026