Version 1, Update 134
textWrapStyle
textWrapStyle is a new paragraph-level property on TextNode that controls how text wraps within each paragraph. Pair it with getRangeTextWrapStyle and setRangeTextWrapStyle to get and set the value on character ranges, and read or write it via TextStyle to apply it across a saved text style.
New types
TextWrapStyle:'AUTO'(default),'BALANCE'(equalized line lengths), or'PRETTY'(fewer orphaned words).
New properties and methods
NonResizableTextMixin.textWrapStyle: Get or set the wrap style for the whole text node. Requires the font to be loaded.NonResizableTextMixin.getRangeTextWrapStyle: Get the wrap style for a paragraph range.NonResizableTextMixin.setRangeTextWrapStyle: Set the wrap style for a paragraph range. Requires the font to be loaded.TextStyle.textWrapStyle: Read or write the wrap style on a text style.