Open Liszt-Fly opened 1 year ago
We have encountered an issue while integrating @tiptap-pro/extension-mathematics katex
with @tiptap/extension-table @tiptap/extension-table-row @tiptap/extension-table-header @tiptap/extension-table-cell
. While each extension works individually, when integrated into
the same editor, we receive an error when attempting to insert or manipulate a table.
We are currently experiencing this issue while using the latest version of Chrome, and have commented on an existing GitHub issue related to this problem. If possible, we would greatly appreciate any assistance in resolving this issue.
not sure if it helps, but I also tried to change my Tables a bit by adding a width attribute: https://gist.github.com/hanspagel/de6cd0c30ece7afb3f2ba663768f373f
However, once I used "configure" on the extension, it kind of "resetted" the extension, if just using it without, so just doing "extend" lead to the table not being wrapped in a div anymore.
I have encountered this before, it seems addCommands
is not combined with the base extension commands
I've got round it in the past by doing this:
addCommands() {
return {
+++ ...Table.config.addCommands()
}
}
You'll get type errors but it works
Which packages did you experience the bug in?
extension-table
What Tiptap version are you using?
2.0.3
What’s the bug you are facing?
I try to extend table, and I want to use addCommand
but if I use the addCommand method, the default method cannot be used, for example, I want to use tab to go to next cell, but it failed.
add this is the custom nodeInput method:
What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
I hope when I use addCommand method, these default method can be used. Everything works for custom-header plugin, but the table doesn't
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?