-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Given the following input:
<table><tr><td></td></tr></table>the generated JSON is:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "table",
"content": [
{
"type": "tableRow",
"content": [
{
"type": "tableCell"
}
]
}
]
}
]
}But an empty table cell is not valid (see https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/table_cell/), it needs a content.
The content itself could be an empty paragraph, so the result should be:
{
"version": 1,
"type": "doc",
"content": [
{
"type": "table",
"content": [
{
"type": "tableRow",
"content": [
{
"type": "tableCell",
"content": [
{
"type": "paragraph"
}
]
}
]
}
]
}
]
}Metadata
Metadata
Assignees
Labels
No labels