@plone/volto 18.8.0 → 18.8.1

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/CHANGELOG.md CHANGED
@@ -17,6 +17,18 @@ myst:
17
17
 
18
18
  <!-- towncrier release notes start -->
19
19
 
20
+ ## 18.8.1 (2025-02-04)
21
+
22
+ ### Bugfix
23
+
24
+ - Fix regression in moving blocks from Grid block. @sneridagh [#6642](https://github.com/plone/volto/issues/6642)
25
+
26
+ ### Internal
27
+
28
+ - Fix `corepack` in CI. @sneridagh
29
+ For more info: https://github.com/nodejs/corepack/issues/612 [#6640](https://github.com/plone/volto/issues/6640)
30
+ - Update TS version. @sneridagh [#6641](https://github.com/plone/volto/issues/6641)
31
+
20
32
  ## 18.8.0 (2025-01-31)
21
33
 
22
34
  ### Feature
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  }
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "18.8.0",
12
+ "version": "18.8.1",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git@github.com:plone/volto.git"
@@ -237,8 +237,8 @@
237
237
  "use-deep-compare-effect": "1.8.1",
238
238
  "uuid": "^8.3.2",
239
239
  "@plone/registry": "2.4.0",
240
- "@plone/volto-slate": "18.2.1",
241
- "@plone/scripts": "3.8.1"
240
+ "@plone/scripts": "3.8.1",
241
+ "@plone/volto-slate": "18.2.1"
242
242
  },
243
243
  "devDependencies": {
244
244
  "@babel/core": "^7.0.0",
@@ -350,7 +350,7 @@
350
350
  "tmp": "0.2.1",
351
351
  "ts-jest": "^26.4.2",
352
352
  "ts-loader": "9.4.4",
353
- "typescript": "^5.6.3",
353
+ "typescript": "^5.7.3",
354
354
  "use-trace-update": "1.3.2",
355
355
  "wait-on": "6.0.0",
356
356
  "webpack": "5.90.1",
@@ -40,13 +40,18 @@ const EditBlockWrapper = (props) => {
40
40
 
41
41
  const style = buildStyleObjectFromData(data);
42
42
 
43
+ // We need to merge the StyleWrapper styles with the draggable props from b-D&D
44
+ const styleMergedWithDragProps = {
45
+ ...draginfo.draggableProps,
46
+ style: { ...style, ...draginfo.draggableProps.style },
47
+ };
48
+
43
49
  return (
44
50
  <div
45
51
  ref={draginfo.innerRef}
46
- {...draginfo.draggableProps}
52
+ {...styleMergedWithDragProps}
47
53
  {...draginfo.dragHandleProps}
48
54
  className={cx(`block-editor-${data['@type']} contained`, { selected })}
49
- style={style}
50
55
  >
51
56
  <div
52
57
  role="presentation"