@tiptap/vue-2 3.22.1 → 3.22.3

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.
@@ -1718,6 +1718,11 @@ var BubbleMenuView = class {
1718
1718
  this.updatePosition();
1719
1719
  } else if (meta && typeof meta === "object" && meta.type === "updateOptions") {
1720
1720
  this.updateOptions(meta.options);
1721
+ } else if (meta === "hide") {
1722
+ this.hide();
1723
+ } else if (meta === "show") {
1724
+ this.updatePosition();
1725
+ this.show();
1721
1726
  }
1722
1727
  };
1723
1728
  var _a;
@@ -2148,6 +2153,11 @@ var FloatingMenuView = class {
2148
2153
  this.updatePosition();
2149
2154
  } else if (meta && typeof meta === "object" && meta.type === "updateOptions") {
2150
2155
  this.updateOptions(meta.options);
2156
+ } else if (meta === "hide") {
2157
+ this.hide();
2158
+ } else if (meta === "show") {
2159
+ this.updatePosition();
2160
+ this.show();
2151
2161
  }
2152
2162
  };
2153
2163
  /**