TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

IFitTextRectangleSettings Interface

A structure defining when and how the editor fits bounding rectangles to rich formatted text.

configuration = {
    widgets: {
        RichTextDialog: {
            bgColor: "lightgray",
            fitTextRectangle: {
                onAdd: "shrinkOrStretchToContent",
                onUpdate: "shrinkOrStretchToContent"
            wysiwygMode: true


Optional onAdd

The fit mode for adding the text to the canvas.

Optional onUpdate

The fit mode for updating the text.