<!-- wp:clanbite/player-description /-->Displays the player profile description (bio) when set. Allows basic formatting from profile settings.
Dynamic
- Block name
clanbite/player-description- Title
- Player description
- Category
clanbite-players- Uses context
postId,postType,clanbite/playerId
Attributes
| Attribute | Type | Default | Values |
|---|---|---|---|
textAlign | string |
Supports
{
"spacing": {
"margin": true,
"padding": true,
"blockGap": true
},
"border": {
"color": true,
"radius": true,
"style": true,
"width": true
},
"shadow": true,
"color": {
"text": true,
"background": true,
"link": true,
"__experimentalDefaultControls": {
"link": true
}
},
"html": false,
"align": true,
"typography": {
"fontSize": true,
"lineHeight": true,
"textAlign": true,
"__experimentalFontFamily": true,
"__experimentalFontStyle": true,
"__experimentalFontWeight": true,
"__experimentalLetterSpacing": true,
"__experimentalTextDecoration": true,
"__experimentalTextTransform": true
}
}Markup
<!-- wp:clanbite/player-description /-->Defined in src/blocks/players/player-description/block.json