rename type
This commit is contained in:
@@ -9,7 +9,7 @@ export interface BubbleMenuPluginProps {
|
|||||||
keepInBounds: boolean,
|
keepInBounds: boolean,
|
||||||
}
|
}
|
||||||
|
|
||||||
export type BubbleMenuViewOptions = BubbleMenuPluginProps & {
|
export type BubbleMenuViewProps = BubbleMenuPluginProps & {
|
||||||
view: EditorView,
|
view: EditorView,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ export class BubbleMenuView {
|
|||||||
element,
|
element,
|
||||||
keepInBounds,
|
keepInBounds,
|
||||||
view,
|
view,
|
||||||
}: BubbleMenuViewOptions) {
|
}: BubbleMenuViewProps) {
|
||||||
this.editor = editor
|
this.editor = editor
|
||||||
this.element = element
|
this.element = element
|
||||||
this.keepInBounds = keepInBounds
|
this.keepInBounds = keepInBounds
|
||||||
|
|||||||
Reference in New Issue
Block a user