Skip to content

Tiptap table extension does not work properly #1785

@martynaskre

Description

@martynaskre

Flux version

v2.2.1

Livewire version

v3.6.3

Tailwind version

v4.1.11

Browser and Operating System

Chrome on MacOS

What is the problem?

When registering a table extension for Tiptap, multiple errors occur, potentially due to mismatched versions of prosemirror-view, as discussed here. The Flux documentation should specify the exact versions of Tiptap and its extensions being used or ideally, include a package-lock.json file so developers can ensure proper version alignment.

The documentation provides an example of installing @tiptap/extension-youtube at version 2.11.7. I attempted to install the tables plugin at the same version and manually override prosemirror-view to version 1.37.0, but the issues persisted.

Code snippets to replicate the problem

import Table from "@tiptap/extension-table";
import TableCell from "@tiptap/extension-table-cell";
import TableHeader from "@tiptap/extension-table-header";
import TableRow from "@tiptap/extension-table-row";

document.addEventListener("flux:editor", (e) => {
    e.detail.registerExtension(Table.configure({ resizable: true }));
    e.detail.registerExtension(TableRow.configure());
    e.detail.registerExtension(TableCell.configure());
    e.detail.registerExtension(TableHeader.configure());
});

Screenshots/ screen recordings of the problem

This is a simple example which adds a table.

Screen.Recording.2025-07-11.at.14.33.07.mov

How do you expect it to work?

The Tiptap itself should not throw any errors.

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions