Skip to main content

ITextPermissionsData

Interfaces

ITextPermissionsData

A structure defining permissions for text elements.

Example

{
"defaultItemsConfig": {
"text": {
"textPermissions": {
"allowChangeText": false,
"allowChangeFontColor": false,
"allowChangeShadow": false,
"allowChangeStroke": false
}
}
}
}

Properties

allowChangeFont?
optional allowChangeFont?: boolean;

Enables the Font name and Font style lists in the Top Toolbar. The default value is true.

allowChangeFontColor?
optional allowChangeFontColor?: boolean;

Enables the Color picker in the Top Toolbar for plain text. By default, the Color picker is enabled.

allowChangeFontSize?
optional allowChangeFontSize?: boolean;

Enables the Font size box in the Top Toolbar for plain text. The default value is true.

allowChangeShadow?
optional allowChangeShadow?: boolean;

Enables the Shadow button in the Top Toolbar. By default, this button is enabled.

allowChangeStroke?
optional allowChangeStroke?: boolean;

Enables the Stroke button in the Top Toolbar. By default, this button is enabled.

allowChangeStrokeColor?
optional allowChangeStrokeColor?: boolean;

Enables the Stroke color button in the Top Toolbar for plain text. By default, this button is enabled.

allowChangeText?
optional allowChangeText?: boolean;

Allows for changing the content and enables the Edit button in the context menu. The default value is true.

allowChangeTextAlignment?
optional allowChangeTextAlignment?: boolean;

Enables the horizontal alignment buttons in the Top Toolbar for plain text. These buttons are enabled by default.

allowChangeTextBIU?
optional allowChangeTextBIU?: boolean;

Enables the Faux bold, Faux italic, and Underlined buttons in the Top Toolbar for plain text. These buttons are enabled by default.

allowTextFormatting?
optional allowTextFormatting?: boolean;
Was this page helpful?