← Back to documentation

Rich text

A rich-text editor and viewer with support for text styles and headings among other things.

Information

Plan: Pro

Properties

PropertyTypeDefault
Value
string
"<p>Hello World!</p>"
Editable
boolean
true
Background color
string
"var(--pc-semantic-surface-page)"
Background color - Content
string
"var(--pc-semantic-surface-base)"
Box shadow
string
"none"
Box shadow - Focus
string
"var(--pc-semantic-focus-ring)"
Border width
string
"1px"
Border color
string
"var(--pc-semantic-border-default)"
Border radius
string
"8px"
Padding
string
"0.25rem"
Margin - Content
string
"1rem"
Selectors
array
[]