@tiptap/vue-2 3.6.5 → 3.6.7
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
|
@@ -1763,6 +1763,7 @@ var BubbleMenuView = class {
|
|
|
1763
1763
|
this.update(view, view.state);
|
|
1764
1764
|
if (this.getShouldShow()) {
|
|
1765
1765
|
this.show();
|
|
1766
|
+
this.updatePosition();
|
|
1766
1767
|
}
|
|
1767
1768
|
}
|
|
1768
1769
|
get middlewares() {
|
|
@@ -1894,7 +1895,7 @@ var BubbleMenuView = class {
|
|
|
1894
1895
|
from,
|
|
1895
1896
|
to
|
|
1896
1897
|
});
|
|
1897
|
-
return shouldShow;
|
|
1898
|
+
return shouldShow || false;
|
|
1898
1899
|
}
|
|
1899
1900
|
show() {
|
|
1900
1901
|
var _a;
|
|
@@ -2122,6 +2123,7 @@ var FloatingMenuView = class {
|
|
|
2122
2123
|
this.update(view, view.state);
|
|
2123
2124
|
if (this.getShouldShow()) {
|
|
2124
2125
|
this.show();
|
|
2126
|
+
this.updatePosition();
|
|
2125
2127
|
}
|
|
2126
2128
|
}
|
|
2127
2129
|
getTextContent(node) {
|