blockComponentTextDirection top-level constant
String
const blockComponentTextDirection
the text direction of the block component
its value must be one of the following:
- blockComponentTextDirectionLTR or 'ltr': left to right
- blockComponentTextDirectionRTL or 'rtl': right to left
- blockComponentTextDirectionAuto or auto: depends on the text
only works for the block with text, e.g. paragraph, heading, quote, to-do list, bulleted list, numbered list
Implementation
const blockComponentTextDirection = 'textDirection';