Nutrient Web SDK

Interface CurrentStyle

Style at the current cursor / selection inside the active text block, as returned by instance.contentEditor.getCurrentStyle().

Properties are null when the selection / block spans mixed values (e.g. half the selection is bold and half is not). A custom toolbar should render mixed-value fields in a neutral state rather than as a definite value.

Interface

Properties

boolean | null
string | null

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

string | null
boolean | null
number | null
number | null
boolean | null