Nutrient Web SDK

Interface TextStyle

Subset of style properties writable through instance.contentEditor.setTextStyle(). All properties are optional — only fields you want to change need to be set.

Interface

Properties

bold

Optional
boolean

color

Optional
string

Hex color, e.g. "#1a1a1a".

family

Optional
string

italic

Optional
boolean

size

Optional
number
boolean