[Bug]: Issue with Table Extension Validator in Strict Mode #6103
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
tiptap t
Version(s)
@tiptap/extension-table": "^2.11.5", "@tiptap/extension-table-cell": "^2.11.5", "@tiptap/extension-table-header": "^2.11.5", "@tiptap/extension-table-row": "^2.11.5",
Bug Description
I’m encountering an issue with the table extension in Tiptap when using the strict mode validator. When I add a basic table to the editor's content, the validator seems to reject it, and the table is not rendered properly. However, when the validator is disabled, the table renders correctly in the editor.
Steps to Reproduce:
Enable strict mode for the validator in Tiptap.
Add a basic table to the editor's content.
Observe that the table is not rendered or validated correctly.
Disable the validator and add the same table content.
Observe that the table renders correctly.
Actual Behavior:
The table is not rendered or validated properly in strict mode, but it works fine when the validator is disabled.
Browser Used
Chrome
Code Example URL
No response
Expected Behavior
The table should be validated and rendered correctly in strict mode, just as it is when the validator is disabled.
Additional Context (Optional)
tiptap version : 2.11.5
prosemirror table version : 1.6.3
Dependency Updates
The text was updated successfully, but these errors were encountered: