Improve the performance of bubble menus in the Content Editor
What does this MR do and why?
It improves the performance of mounting the Content Editor component by implementing a more efficient Bubble Menu component. These are the performance metrics before/after the change:
Before | After |
---|---|
![]() |
![]() |
576.7ms | 132.6ms |
The new bubble menu component is more efficient because it doesn’t mount children components if the bubble menu isn’t visible.
Screenshots or screen recordings
This MR doesn’t introduce user-facing changes.
How to set up and validate locally
- Create or update a Wiki page in your local environment.
- Switch to "Rich text" mode.
- Write some text, create a link, insert an image, and insert a code block.
- Use the bubble menus for all four these elements. They should work correctly.
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.
Related to #369020 (closed)
Edited by Enrique Alcántara