@zipify/wysiwyg 1.0.0-dev.76 → 1.0.0-dev.77

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
@@ -18969,6 +18969,7 @@ function useModalToggler({ onBeforeOpened, onClosed, wrapperRef, modalRef } = {}
18969
18969
  const modalEl = useElementRef(modalRef);
18970
18970
  popper2 = createPopper(wrapperEl.value, modalEl.value, {
18971
18971
  placement: "bottom",
18972
+ strategy: "fixed",
18972
18973
  modifiers: [
18973
18974
  {
18974
18975
  name: "offset",
@@ -20490,6 +20491,7 @@ var render$q = function __render__20() {
20490
20491
  ref: "pickerRef",
20491
20492
  attrs: {
20492
20493
  "placement": "bottom-end",
20494
+ "placement-strategy": "fixed",
20493
20495
  "favorite-colors": _vm.favoriteColors,
20494
20496
  "window": _vm.window
20495
20497
  },
@@ -22803,6 +22805,7 @@ function useToolbar({ wrapperRef, offsets, isActiveRef }) {
22803
22805
  function mount(element) {
22804
22806
  popper2 = createPopper(wrapperEl.value, element, {
22805
22807
  placement: "top-start",
22808
+ strategy: "fixed",
22806
22809
  modifiers: [
22807
22810
  {
22808
22811
  name: "offset",
@@ -2,6 +2,7 @@
2
2
  <ZipifyColorPicker
3
3
  ref="pickerRef"
4
4
  placement="bottom-end"
5
+ placement-strategy="fixed"
5
6
  :favorite-colors="favoriteColors"
6
7
  :window="window"
7
8
  @changeFavoriteColors="updateFavoriteColors"
@@ -14,6 +14,7 @@ export function useModalToggler({ onBeforeOpened, onClosed, wrapperRef, modalRef
14
14
 
15
15
  popper = createPopper(wrapperEl.value, modalEl.value, {
16
16
  placement: 'bottom',
17
+ strategy: 'fixed',
17
18
  modifiers: [
18
19
  {
19
20
  name: 'offset',
@@ -8,6 +8,7 @@ export function useToolbar({ wrapperRef, offsets, isActiveRef }) {
8
8
  function mount(element) {
9
9
  popper = createPopper(wrapperEl.value, element, {
10
10
  placement: 'top-start',
11
+ strategy: 'fixed',
11
12
  modifiers: [
12
13
  {
13
14
  name: 'offset',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zipify/wysiwyg",
3
- "version": "1.0.0-dev.76",
3
+ "version": "1.0.0-dev.77",
4
4
  "description": "Zipify modification of TipTap text editor",
5
5
  "main": "dist/wysiwyg.mjs",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  "simplebar": "^5.3.8"
44
44
  },
45
45
  "peerDependencies": {
46
- "@zipify/colorpicker": "^2.1",
46
+ "@zipify/colorpicker": "^2.2",
47
47
  "vue": "^2.7"
48
48
  },
49
49
  "devDependencies": {