@tiptap/vue-2 3.6.5 → 3.6.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.js
CHANGED
|
@@ -1736,6 +1736,7 @@ var BubbleMenuView = class {
|
|
|
1736
1736
|
this.update(view, view.state);
|
|
1737
1737
|
if (this.getShouldShow()) {
|
|
1738
1738
|
this.show();
|
|
1739
|
+
this.updatePosition();
|
|
1739
1740
|
}
|
|
1740
1741
|
}
|
|
1741
1742
|
get middlewares() {
|
|
@@ -1867,7 +1868,7 @@ var BubbleMenuView = class {
|
|
|
1867
1868
|
from,
|
|
1868
1869
|
to
|
|
1869
1870
|
});
|
|
1870
|
-
return shouldShow;
|
|
1871
|
+
return shouldShow || false;
|
|
1871
1872
|
}
|
|
1872
1873
|
show() {
|
|
1873
1874
|
var _a;
|
|
@@ -2095,6 +2096,7 @@ var FloatingMenuView = class {
|
|
|
2095
2096
|
this.update(view, view.state);
|
|
2096
2097
|
if (this.getShouldShow()) {
|
|
2097
2098
|
this.show();
|
|
2099
|
+
this.updatePosition();
|
|
2098
2100
|
}
|
|
2099
2101
|
}
|
|
2100
2102
|
getTextContent(node) {
|