Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions schemas/richtextproperties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,17 @@ RichTextBackground:
type: boolean
default: false
example: true
padding:
description: |
Inner padding in pixels between the wrap pill edge and the rendered text. Only takes
effect when `wrap: true`. When omitted, the renderer applies a sensible default
proportional to the font size (approximately 12% of the active page font size on
rich-caption assets). Set to 0 for a pill that hugs the text exactly. Available on
rich-text and rich-caption assets only.
type: integer
minimum: 0
maximum: 200
example: 12
additionalProperties: false
type: object

Expand Down
Loading