-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Cannot extend and configure a Table extension #4081
Comments
any updates on this? i have added alignment feature to the tables but it doesn't work when extending default table with addOptions. |
Do you get any error? When we try to both |
Hi, I wasn't be able to get any errors. Having configure is just override the custom attributes or ignore them somehow. For instance, I wanted to keep resizable option while aligning the table attribute being implemented as well. In this scenario custom attr. didn't work and resizing was working as intended. I had to give up on resizing at the end.
Tiptap version I've been using: 2.1.13 |
@Mynraw I'm not entirely clear on what you're saying, but if I'm reading it correctly it sounds like a limitation (of mixing align with resize) rather than a bug? |
Hey once again, sorry for the inconvenience. What I meant was I had to extend the table plugin so users could align tables, but when I also added the table's default features, such as resizing cells, the alignment was not working and the styling features were lost (e.g. a table copied from word) It doesn't matter anymore since I've switched to a different rich text editor package. Thanks anyway. |
@Mynraw I don't think this is a bug. I think you've overlooked including the default values in your custom If this resolves your issue, be sure to remember to close it! If not let me know. |
Which packages did you experience the bug in?
table
What Tiptap version are you using?
Latest (stable)
What’s the bug you are facing?
If doing something like
will not work when doing:
However, if works when you just do
CustomTable
Obviously when setting the extensions of the editor.
What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
n/a
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: