There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-a7468903-df9d-42ec-b42e-d11aef8a6153 XWIKI-23860 Open

Add support for blocks in tables

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-8952acc8-9a2a-477b-be4c-91c97d82b5b2 Marius Dumitru Florea on 20/Jul/26 15:20
 

After XWIKI-24157, the following content:

|one|two
|(((
* red
* green
)))|blue

produces this JavaScript exception:

Caused by: RangeError: Invalid content for node tableParagraph: <xwikiGroup>

Suggestion from Vincent Massol: detect this kind of limitations when converting the XWiki syntax to BlockNote (we can detect that the table cell has block-level content) and prevent BlockNote from loading, informing the user that BlockNote can't be used to edit the content, listing the reasons / limitations.