White paper: Templates in web-to-print.  Free download

ITextOutlineParsed Interface

The text outline for low-contrast texts in the Rich Text editor. This feature is turned off by default.

configuration = {
    widgets: {
        RichTextDialog: {
            bgColor: "black",
            textOutline: {
                enabled: true,
                color: "rgba(255, 0, 0, 0.5)"


Optional brightnessThreshold

brightnessThreshold: number

The brightness threshold. The default value is 5.

Optional color

color: string

The outline color. The default value is "rgba(0, 0, 0, 0.2)".

Optional enabled

enabled: boolean

Enables text outline. The text is outlined in the Rich Text dialog if the difference between the text and background colors is below the hue or the brightness threshold. The default value is false.

Optional hueThreshold

hueThreshold: number

The hue threshold. The default value is 74.