Nutrient Web SDK
    Preparing search index...

    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 TextStyle {
        bold?: boolean;
        color?: string;
        family?: string;
        italic?: boolean;
        size?: number;
    }
    Index

    Properties

    bold?: boolean
    color?: string

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

    family?: string
    italic?: boolean
    size?: number