We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f047eb1 commit 68117b2Copy full SHA for 68117b2
jsondoc/convert/html.py
@@ -244,12 +244,15 @@ def override_reconcile_to_caption_placeholder_block(
244
and set it as the rich text of the caption placeholder block
245
Finally, it will return the caption placeholder block
246
"""
247
+
248
final_rich_text = []
249
for child in children:
250
if isinstance(child, RichTextBase):
251
final_rich_text.append(child)
252
elif isinstance(child, BlockBase):
253
final_rich_text.extend(get_rich_text_from_block(child))
254
+ elif isinstance(child, str):
255
+ final_rich_text.append(create_rich_text(text=child))
256
else:
257
pass
258
# raise ValueError(f"Unsupported type: {type(child)}")
0 commit comments