Hi community,
I was trying to get the alt text of images inside a canvas formulaically, unfortunately there is no access to that property (I made sure they had an alt text to begin with).
So I tried to use the ._Merge()
(as shown in the hidden function ) to breakdown the canvas object in a JSON like format (see below). Even though many properties surfaced, the alt text is still incognito.
Any ideas on how to get the alt text? (I’m not interested in a workaround with text columns alongside images, I was interested in the actual alt text)
Thanks
{
"type": "slate",
"root": {
"children": [
{
"type": "ColumnGroup",
"children": [
{
"type": "Column",
"id": "ec-ZLLN20e3GR",
"children": [
{
"alignment": "Left",
"children": [
{
"text": "Image 1"
}
],
"id": "cl-jzbFV3uwG_",
"style": "H2",
"type": "Line"
},
{
"alignment": "Left",
"children": [
{
"text": ""
},
{
"children": [
{
"text": ""
}
],
"id": "ci-caDP5WKp-a",
"type": "InlineCollaborativeObject"
},
{
"text": " "
}
],
"id": "cl-grid-n_eqTICFgv::i-N4H1wDBK1E::c-1e0DF001-S-0",
"lineLevel": 0,
"style": "Paragraph",
"type": "Line"
}
]
},
{
"type": "Column",
"id": "ec-K2FU6MUZn4",
"children": [
{
"alignment": "Left",
"children": [
{
"text": "Image 2"
}
],
"id": "cl-z5DnM4VhJ5",
"style": "H2",
"type": "Line"
},
{
"alignment": "Left",
"children": [
{
"text": ""
},
{
"children": [
{
"text": ""
}
],
"id": "ci-PTULvxxF0G",
"type": "InlineCollaborativeObject"
},
{
"text": ""
}
],
"id": "cl-FJKJHtKAhj",
"lineLevel": 0,
"style": "Paragraph",
"type": "Line"
}
]
}
],
"id": "ecg-CZfReeH_fv",
"stopPoints": [
6,
12
]
},
{
"alignment": "Left",
"children": [
{
"text": ""
}
],
"id": "cl--RRyEjmM9w",
"lineLevel": 0,
"style": "Paragraph",
"type": "Line"
},
{
"alignment": "Left",
"children": [
{
"text": ""
}
],
"id": "cl-hQKGNrjfbz",
"lineLevel": 0,
"style": "Paragraph",
"type": "Line"
}
],
"normalizationOpsQueue": []
}
}