@tiptap/vue-2 3.22.0 → 3.22.2
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/index.cjs +33 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +34 -1
- package/dist/index.js.map +1 -1
- package/dist/menus/index.cjs +10 -0
- package/dist/menus/index.cjs.map +1 -1
- package/dist/menus/index.js +10 -0
- package/dist/menus/index.js.map +1 -1
- package/package.json +7 -7
- package/src/VueNodeViewRenderer.ts +52 -1
package/dist/menus/index.js
CHANGED
|
@@ -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
|
/**
|