To set the writing direction for content in blocks, use the rtl
setting.
{ "type": "view.text", "content": "cats", "rtl": { "mode": "ltr" }}
The direction of writing is set in the mode
property:
ltr
— left to right.
rtl
— right to left.
The setting is available in the following blocks: view.text
, field.button-radio-group
, field.text
, and field.textarea
.