@@ -11,6 +11,7 @@
@import "code/editor";
@import "cover/editor";
@import "heading/editor";
+@import "image/editor";
@import "gallery/editor";
@import "group/editor";
@import "latest-posts/editor";
@@ -0,0 +1,13 @@
+/* Center image block by default in the editor */
+
+.wp-block-image {
+ text-align: center;
+}
+.wp-block-image > div {
+[data-type="core/image"] .block-editor-block-list__block-edit figure.is-resized {
+ margin:0 auto;
@@ -396,6 +396,19 @@ object {
line-height: 1.125;
}
+ margin: 0 auto;
.wp-block-gallery figcaption {
margin-bottom: 0;