Release Notes Channel: Add support for server body ranges (#9631)

This commit is contained in:
yash-signal
2025-01-31 14:52:48 -06:00
committed by GitHub
parent 6b2d65c1e7
commit da7002fc64
6 changed files with 132 additions and 7 deletions

View File

@@ -1,4 +1,11 @@
{
"bodyRanges": [
{ "style": "bold", "start": 0, "length": 4 },
{ "style": "italic", "start": 5, "length": 5 },
{ "style": "strikethrough", "start": 11, "length": 3 },
{ "style": "spoiler", "start": 15, "length": 3 },
{ "style": "mono", "start": 19, "length": 7 }
],
"mediaHeight": "864",
"mediaWidth": "1536",
"media": "/static/release-notes/call_links.png",

View File

@@ -0,0 +1,13 @@
{
"bodyRanges": [
{ "style": "bold", "start": 109, "length": 1 },
{ "style": "bold", "start": 0, "length": 110 },
{ "style": "bold", "start": 10, "length": 0 },
{ "style": "bold", "start": 10, "length": 100 },
{ "style": "italic", "start": 100, "length": 9 }
],
"uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"title": "Formatting Test",
"body": "Sample body text that tests formatting boundaries. Bold text has invalid ranges, italic has valid. length 109",
"callToActionText": "Create Call Link"
}