@tiptap/vue-2 3.10.4 → 3.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/menus/index.cjs
CHANGED
|
@@ -1990,7 +1990,7 @@ var BubbleMenu2 = {
|
|
|
1990
1990
|
},
|
|
1991
1991
|
options: {
|
|
1992
1992
|
type: Object,
|
|
1993
|
-
default: {}
|
|
1993
|
+
default: () => ({})
|
|
1994
1994
|
},
|
|
1995
1995
|
resizeDelay: {
|
|
1996
1996
|
type: Number
|
|
@@ -2011,6 +2011,9 @@ var BubbleMenu2 = {
|
|
|
2011
2011
|
if (!editor) {
|
|
2012
2012
|
return;
|
|
2013
2013
|
}
|
|
2014
|
+
if (!this.$el) {
|
|
2015
|
+
return;
|
|
2016
|
+
}
|
|
2014
2017
|
;
|
|
2015
2018
|
this.$el.style.visibility = "hidden";
|
|
2016
2019
|
this.$el.style.position = "absolute";
|
|
@@ -2312,6 +2315,9 @@ var FloatingMenu2 = {
|
|
|
2312
2315
|
if (!editor) {
|
|
2313
2316
|
return;
|
|
2314
2317
|
}
|
|
2318
|
+
if (!this.$el) {
|
|
2319
|
+
return;
|
|
2320
|
+
}
|
|
2315
2321
|
;
|
|
2316
2322
|
this.$el.style.visibility = "hidden";
|
|
2317
2323
|
this.$el.style.position = "absolute";
|