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.
null
Hex color, e.g. "#1a1a1a".
"#1a1a1a"
Style at the current cursor / selection inside the active text block, as returned by instance.contentEditor.getCurrentStyle().
Properties are
nullwhen 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.