Update tippy options in code block bubble menu
What does this MR do and why?
Update tippy options in code block bubble menu
Thanks to my upstream contribution (https://github.com/ueberdosis/tiptap/pull/2668), now we can use getReferenceClientRect
directly in our code and simplify tippy logic for code block bubble menu.
Related to #358394 (closed)
How to set up and validate locally
- Open any wiki page and edit the page
- Click "Edit rich text" to open the content editor
- Insert a code block: the code block bubble menu should appear as usual above the code block!
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Himanshu Kapoor