activeStyle property

TextEntityStyle get activeStyle

The selected entity's attributes, or the pending ones the next insert takes.

Implementation

TextEntityStyle get activeStyle => selectedEntity?.style ?? pendingStyle;