@plone/volto-slate 19.0.2 → 19.0.3

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
@@ -8,6 +8,12 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 19.0.3 (2026-07-01)
12
+
13
+ ### Bugfix
14
+
15
+ - Fixed unintended form submission triggered by table block buttons. @ilariamassa96 [#8330](https://github.com/plone/volto/issues/8330)
16
+
11
17
  ## 19.0.2 (2026-05-28)
12
18
 
13
19
  ### Bugfix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plone/volto-slate",
3
- "version": "19.0.2",
3
+ "version": "19.0.3",
4
4
  "description": "Slate.js integration with Volto",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -355,6 +355,7 @@ const Edit = (props) => {
355
355
  <Button
356
356
  icon
357
357
  basic
358
+ type="button"
358
359
  onClick={onInsertRowBefore}
359
360
  title={intl.formatMessage(messages.insertRowBefore)}
360
361
  aria-label={intl.formatMessage(messages.insertRowBefore)}
@@ -366,6 +367,7 @@ const Edit = (props) => {
366
367
  <Button
367
368
  icon
368
369
  basic
370
+ type="button"
369
371
  onClick={onInsertRowAfter}
370
372
  title={intl.formatMessage(messages.insertRowAfter)}
371
373
  aria-label={intl.formatMessage(messages.insertRowAfter)}
@@ -377,6 +379,7 @@ const Edit = (props) => {
377
379
  <Button
378
380
  icon
379
381
  basic
382
+ type="button"
380
383
  onClick={onDeleteRow}
381
384
  disabled={data.table?.rows?.length === 1}
382
385
  title={intl.formatMessage(messages.deleteRow)}
@@ -389,6 +392,7 @@ const Edit = (props) => {
389
392
  <Button
390
393
  icon
391
394
  basic
395
+ type="button"
392
396
  onClick={onInsertColBefore}
393
397
  title={intl.formatMessage(messages.insertColBefore)}
394
398
  aria-label={intl.formatMessage(messages.insertColBefore)}
@@ -400,6 +404,7 @@ const Edit = (props) => {
400
404
  <Button
401
405
  icon
402
406
  basic
407
+ type="button"
403
408
  onClick={onInsertColAfter}
404
409
  title={intl.formatMessage(messages.insertColAfter)}
405
410
  aria-label={intl.formatMessage(messages.insertColAfter)}
@@ -411,6 +416,7 @@ const Edit = (props) => {
411
416
  <Button
412
417
  icon
413
418
  basic
419
+ type="button"
414
420
  onClick={onDeleteCol}
415
421
  disabled={data.table?.rows?.[0].cells.length === 1}
416
422
  title={intl.formatMessage(messages.deleteCol)}