@wordpress/edit-post 5.0.20 → 5.0.21
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/build-style/classic-rtl.css +8 -0
- package/build-style/classic.css +8 -0
- package/package.json +7 -7
- package/src/classic.scss +12 -0
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
margin-left: auto;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
html :where(.editor-styles-wrapper) {
|
|
98
|
+
padding: 8px;
|
|
99
|
+
}
|
|
100
|
+
html :where(.editor-styles-wrapper) .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
|
|
101
|
+
margin-right: -8px;
|
|
102
|
+
margin-left: -8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
97
105
|
html :where(.wp-block) {
|
|
98
106
|
max-width: 840px;
|
|
99
107
|
margin-top: 28px;
|
package/build-style/classic.css
CHANGED
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
margin-right: auto;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
html :where(.editor-styles-wrapper) {
|
|
98
|
+
padding: 8px;
|
|
99
|
+
}
|
|
100
|
+
html :where(.editor-styles-wrapper) .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
|
|
101
|
+
margin-left: -8px;
|
|
102
|
+
margin-right: -8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
97
105
|
html :where(.wp-block) {
|
|
98
106
|
max-width: 840px;
|
|
99
107
|
margin-top: 28px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-post",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.21",
|
|
4
4
|
"description": "Edit Post module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"@babel/runtime": "^7.16.0",
|
|
30
30
|
"@wordpress/a11y": "^3.2.4",
|
|
31
31
|
"@wordpress/api-fetch": "^5.2.6",
|
|
32
|
-
"@wordpress/block-editor": "^8.0.
|
|
33
|
-
"@wordpress/block-library": "^6.0.
|
|
32
|
+
"@wordpress/block-editor": "^8.0.14",
|
|
33
|
+
"@wordpress/block-library": "^6.0.19",
|
|
34
34
|
"@wordpress/blocks": "^11.1.5",
|
|
35
|
-
"@wordpress/components": "^19.2.
|
|
35
|
+
"@wordpress/components": "^19.2.1",
|
|
36
36
|
"@wordpress/compose": "^5.0.7",
|
|
37
37
|
"@wordpress/core-data": "^4.0.9",
|
|
38
38
|
"@wordpress/data": "^6.1.5",
|
|
39
39
|
"@wordpress/data-controls": "^2.2.8",
|
|
40
|
-
"@wordpress/editor": "^12.0.
|
|
40
|
+
"@wordpress/editor": "^12.0.17",
|
|
41
41
|
"@wordpress/element": "^4.0.4",
|
|
42
42
|
"@wordpress/hooks": "^3.2.2",
|
|
43
43
|
"@wordpress/i18n": "^4.2.4",
|
|
44
44
|
"@wordpress/icons": "^6.1.1",
|
|
45
|
-
"@wordpress/interface": "^4.1.
|
|
45
|
+
"@wordpress/interface": "^4.1.16",
|
|
46
46
|
"@wordpress/keyboard-shortcuts": "^3.0.7",
|
|
47
47
|
"@wordpress/keycodes": "^3.2.4",
|
|
48
48
|
"@wordpress/media-utils": "^3.0.5",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "04883dd8275ee52245a45c8899eb720b91055c50"
|
|
65
65
|
}
|
package/src/classic.scss
CHANGED
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
margin-right: auto;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
// Add a default 8px padding for classic themes around the canvas.
|
|
10
|
+
// Themes with theme.json can control this themselves.
|
|
11
|
+
// For full-wide blocks, we compensate for the base padding.
|
|
12
|
+
// These margins should match the padding value above.
|
|
13
|
+
html :where(.editor-styles-wrapper) {
|
|
14
|
+
padding: 8px;
|
|
15
|
+
.block-editor-block-list__layout.is-root-container > .wp-block[data-align="full"] {
|
|
16
|
+
margin-left: -8px;
|
|
17
|
+
margin-right: -8px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
9
21
|
// Deprecated style needed for the block widths and alignments.
|
|
10
22
|
// for themes that don't support the new layout (theme.json).
|
|
11
23
|
html :where(.wp-block) {
|