You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove tippy.js and replace with Floating UI (#5398)
* start experimenting with floating-ui
* add options to floating-ui bubble menu plugin & fix smaller issues
* add vue support for new floating-ui
* start experimenting with floating-ui
* adjust floating-menu plugin for floating-ui & update react component
* add vue support for floating-menu with floating-ui
* update tests for new floating-ui integration
* added changeset file
* move floating-ui dependency to peerDeps
* add install notice to changelog
* remove unnecessary code for destroying and removing component element in Vue suggestion.js
* remove unnecessary code for destroying and removing component element in React suggestion.js
* sync package-lock
* widen range for peerDeps again
Removed tippy.js and replaced it with [Floating UI](https://floating-ui.com/) - a newer, more lightweight and customizable floating element library.
12
+
13
+
This change is breaking existing menu implementations and will require a manual migration.
14
+
15
+
**Affected packages:**
16
+
17
+
-`@tiptap/extension-floating-menu`
18
+
-`@tiptap/extension-bubble-menu`
19
+
-`@tiptap/extension-mention`
20
+
-`@tiptap/suggestion`
21
+
-`@tiptap/react`
22
+
-`@tiptap/vue-2`
23
+
-`@tiptap/vue-3`
24
+
25
+
Make sure to remove `tippyOptions` from the `FloatingMenu` and `BubbleMenu` components, and replace them with the new `options` object. Check our documentation to see how to migrate your existing menu implementations.
0 commit comments