Skip to main content
Solved

Standard Import - Table Shape - Borders and Raw HTML Rendering

  • July 15, 2026
  • 7 replies
  • 211 views

Forum|alt.badge.img+1

I am trying to create a table using the Standard Import Format, and I see in the documentation for the Table Library that I should be able to set whether the horizontal borders are visible with the fields verticalBorder and horizontalBorder.

 

I send this JSON to the https://api.lucid.co/v1/documents and the document was successfully created.

{
"version": 1,
"pages": [
{
"id": "page1",
"title": "Current",
"shapes": [
{
"id": "shape1",
"type": "table",
"boundingBox": {
"x": 1210,
"y": 418,
"w": 334,
"h": 148
},
"style": {
"rounding": 0,
"textColor": "#FFFFFF",
"stroke": {
"color": "#5E5E5E",
"width": 2,
"style": "solid"
}
},
"rowCount": 4,
"colCount": 2,
"cells": [
{
"xPosition": 0,
"yPosition": 0,
"style": { "fill": { "type": "color", "color": "#FFFFFF" } },
"text": "<span style='font-family: Inter, sans-serif; text-align: left;'>Key1</span>"
},
{
"xPosition": 1,
"yPosition": 0,
"style": { "fill": { "type": "color", "color": "#FFFFFF" } },
"text": "Value1"
},
{
"xPosition": 0,
"yPosition": 1,
"style": { "fill": { "type": "color", "color": "#E6E6E6" } },
"text": "Key2"
},
{
"xPosition": 1,
"yPosition": 1,
"style": { "fill": { "type": "color", "color": "#E6E6E6" } },
"text": "Value2"
},
{
"xPosition": 0,
"yPosition": 2,
"style": { "fill": { "type": "color", "color": "#FFFFFF" } },
"text": "Key3"
},
{
"xPosition": 1,
"yPosition": 2,
"style": { "fill": { "type": "color", "color": "#FFFFFF" } },
"text": "Value3"
},
{
"xPosition": 0,
"yPosition": 3,
"style": { "fill": { "type": "color", "color": "#E6E6E6" } },
"text": "Key4"
},
{
"xPosition": 1,
"yPosition": 3,
"style": { "fill": { "type": "color", "color": "#E6E6E6" } },
"text": "Long Value4 fitting in a wider row than usual"
}
],
"userSpecifiedCols": [
{
"index": 0,
"size": 83
},
{
"index": 1,
"size": 251
}
],
"userSpecifiedRows": [
{
"index": 3,
"size": 53
}
],
"verticalBorder": false,
"horizontalBorder": false,
"customData": []
}
],
"lines": []
}
]
}

However, the table renders with all borders enabled. Did I set this parameter correctly?

I also have also followed the reference for the Text field and attempted to pass in raw HTML into the cell to choose a specific font and text alignment, since this can’t be specified in the Style field.

HTML is parsed for the standard Rectangle shape, but handled as regular text for the Table Cell. Is this intended?

Best answer by Michael B

The fix for table borders has been deployed.

Comments

Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • July 15, 2026

Hello Alex.

I am investigating now and will be in touch with any findings.


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • July 16, 2026

I have confirmed that verticalBorder and horizontalBorder are not working as intended. I am working on a fix now and will post when its confirmed release.

Thanks for reaching out.


Forum|alt.badge.img+1
  • Author
  • July 16, 2026

Thanks for the response. Could you also confirm whether the HTML parsing is intended for Table Cells? Could not find explicit confirmation in the documentation besides for the general Text field 


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • July 17, 2026

Unfortunately, you are right. HTML parsing does not work in tables. Generally speaking, I would say our table support is showing its age. They are an old component and are greatly in need of modernization.

I will look into if its possible to add HTML support, but I expect it has legacy reasons why its problematic. But, if we get lucky I’ll post here that its incoming.


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • Answer
  • July 17, 2026

The fix for table borders has been deployed.


Forum|alt.badge.img+1
  • Author
  • July 19, 2026

I have confirmed the table borders now work as expected. Thank you for the quick turnaround on the fix.

I would be very interested in seeing additional style control over the cell text in tables in the Standard Import, as well as other shapes such the standard ERD Diagram library. The MCP connectors are highly limited for styling, so I am using this as an intermediate layer for chart automation.


Michael B
Forum|alt.badge.img+4
  • Lucid product team
  • July 20, 2026

Agreed and ageed. Although I don’t know if improved options for table cell text will get prioritized, I can say that MCP improvments are the primary focus of numerous teams. (in addition to Lucid AI results in general). ERP is of interest to many of our customers so hopefully the results and overall experience for that part of our product will see improvements soon.

I’ll pass on the feedback to stakeholders.