mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Release Notes Channel: Add support for server body ranges (#9631)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user