How to show bubble menu within a table? #1268
Unanswered
dkrusenstrahle
asked this question in
Questions & Help
Replies: 3 comments 2 replies
-
With this patch it should work better now. |
Beta Was this translation helpful? Give feedback.
2 replies
-
You can simply override the shouldShow logic: |
Beta Was this translation helpful? Give feedback.
0 replies
-
shouldShow: ({ editor, view, state, oldState, from, to }) => {
return editor.isActive('table') || editor.isActive('tableCell') || editor.isActive('tableHeader') || editor.isActive('tableRow');
}, ^This works for others looking at this thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am developing an Tiptap 2.0 app.
I am using Tables and Bubble menu in my editor.
Is it possible to get the bubble menu to appear when focusing on a table or one of it's cells?
I would like to use that to show tools for the table.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions