From f570b2e9569f134cbf872f46659e09dc2338fa03 Mon Sep 17 00:00:00 2001 From: Kratos2k7 Date: Sat, 11 Apr 2026 09:01:31 +0500 Subject: [PATCH] fix: add wrap to rich-text and rich-caption --- schemas/richtextproperties.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/schemas/richtextproperties.yaml b/schemas/richtextproperties.yaml index d08a39a..e7f620e 100644 --- a/schemas/richtextproperties.yaml +++ b/schemas/richtextproperties.yaml @@ -215,6 +215,15 @@ RichTextBackground: minimum: 0 default: 0 example: 10 + wrap: + description: | + When true, the background pill shrinks to fit the rendered text bounding box plus the + asset's padding (and stroke width, if present), producing a pill or badge effect. When + false (default), the background fills the full asset content area. Available on + rich-text and rich-caption assets only; not supported on legacy `type: text`. + type: boolean + default: false + example: true additionalProperties: false type: object