RichTextStyleItem: {
    fill: string | null;
    fontFamily: string | null;
    fontSize: number | null;
    fontStyle: FontStyle | null;
    fontWeight: FontWeight | null;
    textBackgroundColor: string | null;
    textDecoration: TextDecoration | null;
}

The style item available for rich text formatting.

Type declaration

  • fill: string | null

    The font color to use. This can be any valid MegaEdit color value.

  • fontFamily: string | null

    The font family to use. This must match an available font available in the resources for the current product

  • fontSize: number | null

    The font size to use. This is in points.

  • fontStyle: FontStyle | null

    The font style to use. Note that the respective variant must be available in the font setup.

  • fontWeight: FontWeight | null

    The font weight to use. Note that the respective variant must be available in the font setup.

  • textBackgroundColor: string | null

    The text background color item to use. This can be any valid MegaEdit color value.

  • textDecoration: TextDecoration | null

    The text decoration to use. Note that only one option can be active at a time.

Generated using TypeDoc