sjdemartini / mui-tiptap

A Material UI (MUI) styled WYSIWYG rich text editor, using Tiptap
MIT License
320 stars 44 forks source link

Allow passing TooltipProps to MenuButton #283

Open tamimjabban opened 1 month ago

tamimjabban commented 1 month ago

Is your feature request related to a problem? Please describe.

I would like to be able to further customize the tooltip in MenuButton like changing the positioning or adding a delay. One issue this has caused in my app is that the tooltip (when shown as "top") covers some buttons that I've got right above the editor.

Describe the solution you'd like

It would be great to pass in TooltipProps to MenuButton.

Describe alternatives you've considered

I'm aware that we can define defaults in the createTheme, but I don't want these props to apply to all tooltips across my app.

Additional context

I'm happy to create a PR to support this.

markdon commented 3 weeks ago

Same issue here: https://github.com/sjdemartini/mui-tiptap/issues/282

I haven't gotten around to writing a change yet.