Interface: IFitTextRectangleSettings
A structure defining when and how the editor fits bounding rectangles to rich formatted text.
Remarks
You can use these settings in IRichTextDialogConfig.
Example
configuration = {
widgets: {
RichTextDialog: {
bgColor: "lightgray",
fitTextRectangle: {
onAdd: "shrinkOrStretchToContent",
onUpdate: "shrinkOrStretchToContent",
},
wysiwygMode: true,
},
},
};
Properties
onAdd?
optionalonAdd?:TextRectangleFitMode
The fit mode for adding the text to the canvas.
onUpdate?
optionalonUpdate?:TextRectangleFitMode
The fit mode for updating the text.