Search results

StyleModel API in React Blockeditor API component

Interface for a class Style

Properties

bgColor

string

Specifies the background color for the text.

bold

boolean

Specifies whether the text is bold.

color

string

Specifies the text color in a HEX or RGBA format.

custom

string

Specifies custom CSS styles for the text.

italic

boolean

Specifies whether the text is italicized.

lowercase

boolean

Converts the text to lowercase.

strikethrough

boolean

Specifies whether the text has a strikethrough effect.

subscript

boolean

Specifies whether the text is displayed as subscript.

superscript

boolean

Specifies whether the text is displayed as superscript.

underline

boolean

Specifies whether the text is underlined.

uppercase

boolean

Converts the text to uppercase.