@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.
@@ -1963,7 +1963,7 @@ var BubbleMenu2 = {
1963
1963
  },
1964
1964
  options: {
1965
1965
  type: Object,
1966
- default: {}
1966
+ default: () => ({})
1967
1967
  },
1968
1968
  resizeDelay: {
1969
1969
  type: Number
@@ -1984,6 +1984,9 @@ var BubbleMenu2 = {
1984
1984
  if (!editor) {
1985
1985
  return;
1986
1986
  }
1987
+ if (!this.$el) {
1988
+ return;
1989
+ }
1987
1990
  ;
1988
1991
  this.$el.style.visibility = "hidden";
1989
1992
  this.$el.style.position = "absolute";
@@ -2285,6 +2288,9 @@ var FloatingMenu2 = {
2285
2288
  if (!editor) {
2286
2289
  return;
2287
2290
  }
2291
+ if (!this.$el) {
2292
+ return;
2293
+ }
2288
2294
  ;
2289
2295
  this.$el.style.visibility = "hidden";
2290
2296
  this.$el.style.position = "absolute";