From cf6015b2cbb42477fbaeac224fd8ac682c834b8b Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Tue, 19 Oct 2021 11:42:26 -0400 Subject: [PATCH 1/2] Add spacing controls to all heading blocks. --- packages/block-library/src/heading/block.json | 4 ++++ packages/block-library/src/post-title/block.json | 4 ++++ packages/block-library/src/query-title/block.json | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/packages/block-library/src/heading/block.json b/packages/block-library/src/heading/block.json index 705c2f2e8725f..849ae2d9d1f2b 100644 --- a/packages/block-library/src/heading/block.json +++ b/packages/block-library/src/heading/block.json @@ -32,6 +32,10 @@ "color": { "link": true }, + "spacing": { + "margin": true, + "padding": true + }, "typography": { "fontSize": true, "lineHeight": true, diff --git a/packages/block-library/src/post-title/block.json b/packages/block-library/src/post-title/block.json index 308eced2ce359..033f6ec037906 100644 --- a/packages/block-library/src/post-title/block.json +++ b/packages/block-library/src/post-title/block.json @@ -35,6 +35,10 @@ "gradients": true, "link": true }, + "spacing": { + "margin": true, + "padding": true + }, "typography": { "fontSize": true, "lineHeight": true, diff --git a/packages/block-library/src/query-title/block.json b/packages/block-library/src/query-title/block.json index 3e5d43fc50846..279fc10b3f4de 100644 --- a/packages/block-library/src/query-title/block.json +++ b/packages/block-library/src/query-title/block.json @@ -23,6 +23,10 @@ "color": { "gradients": true }, + "spacing": { + "margin": true, + "padding": true + }, "typography": { "fontSize": true, "lineHeight": true, From 17034f1160349df0d8a59c0511fdad00fe1dbd0a Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Wed, 20 Oct 2021 09:05:39 -0400 Subject: [PATCH 2/2] Try just margin. --- packages/block-library/src/heading/block.json | 3 +-- packages/block-library/src/post-title/block.json | 3 +-- packages/block-library/src/query-title/block.json | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/block-library/src/heading/block.json b/packages/block-library/src/heading/block.json index 849ae2d9d1f2b..c35c20e8f514a 100644 --- a/packages/block-library/src/heading/block.json +++ b/packages/block-library/src/heading/block.json @@ -33,8 +33,7 @@ "link": true }, "spacing": { - "margin": true, - "padding": true + "margin": true }, "typography": { "fontSize": true, diff --git a/packages/block-library/src/post-title/block.json b/packages/block-library/src/post-title/block.json index 033f6ec037906..c9bfc1ce38f30 100644 --- a/packages/block-library/src/post-title/block.json +++ b/packages/block-library/src/post-title/block.json @@ -36,8 +36,7 @@ "link": true }, "spacing": { - "margin": true, - "padding": true + "margin": true }, "typography": { "fontSize": true, diff --git a/packages/block-library/src/query-title/block.json b/packages/block-library/src/query-title/block.json index 279fc10b3f4de..352280417c990 100644 --- a/packages/block-library/src/query-title/block.json +++ b/packages/block-library/src/query-title/block.json @@ -24,8 +24,7 @@ "gradients": true }, "spacing": { - "margin": true, - "padding": true + "margin": true }, "typography": { "fontSize": true,