Skip to content

Update tippy options in code block bubble menu

Himanshu Kapoor requested to merge 358394-tiptap-update into master

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

  1. Open any wiki page and edit the page
  2. Click "Edit rich text" to open the content editor
  3. Insert a code block: the code block bubble menu should appear as usual above the code block!

image

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Himanshu Kapoor

Merge request reports