Skip to content

Add Transformation from Separator to Spacer #66230

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Merged
PrevPrevious commit
Next Next commit
Add a transform from the Separator block to the Spacer block
Feat #65492
  • Loading branch information
Rudrakshi Gupta authored and Rudrakshi Gupta committedOct 18, 2024
commit ff1cdd5564d0caef8cb10e229d15055e51e322fe
2 changes: 1 addition & 1 deletion packages/block-library/src/separator/transforms.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,7 +21,7 @@ const transforms = {
to: [
{
type: 'block',
blocks: [ 'core/spacer' ],
blocks: [ 'core/spacer' ], // Transform to Spacer.
transform: () => {
return createBlock( 'core/spacer', {
height: '50px',
Expand Down
Loading