@zipify/wysiwyg 1.0.0-dev.82 → 1.0.0-dev.85
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/wysiwyg.mjs
CHANGED
|
@@ -22839,13 +22839,12 @@ function useToolbar({ wrapperRef, offsets, isActiveRef }) {
|
|
|
22839
22839
|
name: "preventOverflow",
|
|
22840
22840
|
options: {
|
|
22841
22841
|
altAxis: true,
|
|
22842
|
-
padding: 2
|
|
22843
|
-
rootBoundary: ContextWindow.window
|
|
22842
|
+
padding: 2
|
|
22844
22843
|
}
|
|
22845
22844
|
},
|
|
22846
22845
|
{
|
|
22847
22846
|
name: "flip",
|
|
22848
|
-
options: {
|
|
22847
|
+
options: { enabled: false }
|
|
22849
22848
|
}
|
|
22850
22849
|
]
|
|
22851
22850
|
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createPopper } from '@popperjs/core';
|
|
2
2
|
import { useElementRef } from '../components/base';
|
|
3
|
-
import { ContextWindow } from '../services';
|
|
4
3
|
|
|
5
4
|
export function useToolbar({ wrapperRef, offsets, isActiveRef }) {
|
|
6
5
|
const wrapperEl = useElementRef(wrapperRef);
|
|
@@ -18,13 +17,12 @@ export function useToolbar({ wrapperRef, offsets, isActiveRef }) {
|
|
|
18
17
|
name: 'preventOverflow',
|
|
19
18
|
options: {
|
|
20
19
|
altAxis: true,
|
|
21
|
-
padding: 2
|
|
22
|
-
rootBoundary: ContextWindow.window
|
|
20
|
+
padding: 2
|
|
23
21
|
}
|
|
24
22
|
},
|
|
25
23
|
{
|
|
26
24
|
name: 'flip',
|
|
27
|
-
options: {
|
|
25
|
+
options: { enabled: false }
|
|
28
26
|
}
|
|
29
27
|
]
|
|
30
28
|
});
|