mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-25 04:19:02 +08:00
fix a type bug for now
This commit is contained in:
parent
8d15436c28
commit
7fefd4c488
@ -15,7 +15,7 @@ export const BubbleMenu = defineComponent({
|
||||
pluginKey: {
|
||||
// TODO: TypeScript breaks :(
|
||||
// type: [String, Object as PropType<Exclude<BubbleMenuPluginProps['pluginKey'], string>>],
|
||||
type: [String, Object],
|
||||
type: null,
|
||||
default: 'bubbleMenu',
|
||||
},
|
||||
|
||||
|
@ -15,7 +15,7 @@ export const FloatingMenu = defineComponent({
|
||||
pluginKey: {
|
||||
// TODO: TypeScript breaks :(
|
||||
// type: [String, Object as PropType<Exclude<FloatingMenuPluginProps['pluginKey'], string>>],
|
||||
type: [String, Object],
|
||||
type: null,
|
||||
default: 'floatingMenu',
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user