Skip to content

Commit

Permalink
Merge pull request #2670 from woocommerce/fix/compat-wp-6-7-product-b…
Browse files Browse the repository at this point in the history
…lock-editor

WordPress 6.7 Compatibility: Avoid block toolbar appearing when interacting custom product blocks
  • Loading branch information
eason9487 authored Nov 12, 2024
2 parents 35619d5 + 7759969 commit e0b2e7c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion js/src/blocks/product-channel-visibility/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"supports": {
"html": false,
"inserter": false,
"lock": false
"lock": false,
"__experimentalToolbar": false
}
}
3 changes: 2 additions & 1 deletion js/src/blocks/product-date-time-field/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"supports": {
"html": false,
"inserter": false,
"lock": false
"lock": false,
"__experimentalToolbar": false
}
}
3 changes: 2 additions & 1 deletion js/src/blocks/product-onboarding-prompt/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"supports": {
"html": false,
"inserter": false,
"lock": false
"lock": false,
"__experimentalToolbar": false
}
}
3 changes: 2 additions & 1 deletion js/src/blocks/product-select-field/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"supports": {
"html": false,
"inserter": false,
"lock": false
"lock": false,
"__experimentalToolbar": false
}
}
3 changes: 2 additions & 1 deletion js/src/blocks/product-select-with-text-field/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"supports": {
"html": false,
"inserter": false,
"lock": false
"lock": false,
"__experimentalToolbar": false
}
}

0 comments on commit e0b2e7c

Please sign in to comment.