fix menus in vue 3 for now
This commit is contained in:
@@ -42,6 +42,6 @@ export const BubbleMenu = defineComponent({
|
|||||||
editor.unregisterPlugin(BubbleMenuPluginKey)
|
editor.unregisterPlugin(BubbleMenuPluginKey)
|
||||||
})
|
})
|
||||||
|
|
||||||
return () => h('div', { ref: root, style: { visibility: 'hidden' } }, slots.default?.())
|
return () => h('div', { ref: root }, slots.default?.())
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -36,6 +36,6 @@ export const FloatingMenu = defineComponent({
|
|||||||
editor.unregisterPlugin(FloatingMenuPluginKey)
|
editor.unregisterPlugin(FloatingMenuPluginKey)
|
||||||
})
|
})
|
||||||
|
|
||||||
return () => h('div', { ref: root, style: { visibility: 'hidden' } }, slots.default?.())
|
return () => h('div', { ref: root }, slots.default?.())
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user