@wordpress/edit-post 8.0.4 → 8.0.5

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.
@@ -181,7 +181,7 @@
181
181
  content: none;
182
182
  }
183
183
 
184
- .editor-visual-editor {
184
+ .edit-post-layout.has-metaboxes .edit-post-visual-editor {
185
185
  flex: 1 0 auto;
186
186
  height: auto;
187
187
  }
@@ -419,7 +419,8 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
419
419
  .editor-header,
420
420
  .editor-text-editor,
421
421
  .editor-sidebar,
422
- .editor-post-publish-panel {
422
+ .editor-post-publish-panel,
423
+ .edit-post-visual-editor.is-iframed {
423
424
  box-sizing: border-box;
424
425
  }
425
426
  .editor-header *,
@@ -433,7 +434,10 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
433
434
  .editor-sidebar *::after,
434
435
  .editor-post-publish-panel *,
435
436
  .editor-post-publish-panel *::before,
436
- .editor-post-publish-panel *::after {
437
+ .editor-post-publish-panel *::after,
438
+ .edit-post-visual-editor.is-iframed *,
439
+ .edit-post-visual-editor.is-iframed *::before,
440
+ .edit-post-visual-editor.is-iframed *::after {
437
441
  box-sizing: inherit;
438
442
  }
439
443
 
@@ -181,7 +181,7 @@
181
181
  content: none;
182
182
  }
183
183
 
184
- .editor-visual-editor {
184
+ .edit-post-layout.has-metaboxes .edit-post-visual-editor {
185
185
  flex: 1 0 auto;
186
186
  height: auto;
187
187
  }
@@ -419,7 +419,8 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
419
419
  .editor-header,
420
420
  .editor-text-editor,
421
421
  .editor-sidebar,
422
- .editor-post-publish-panel {
422
+ .editor-post-publish-panel,
423
+ .edit-post-visual-editor.is-iframed {
423
424
  box-sizing: border-box;
424
425
  }
425
426
  .editor-header *,
@@ -433,7 +434,10 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
433
434
  .editor-sidebar *::after,
434
435
  .editor-post-publish-panel *,
435
436
  .editor-post-publish-panel *::before,
436
- .editor-post-publish-panel *::after {
437
+ .editor-post-publish-panel *::after,
438
+ .edit-post-visual-editor.is-iframed *,
439
+ .edit-post-visual-editor.is-iframed *::before,
440
+ .edit-post-visual-editor.is-iframed *::after {
437
441
  box-sizing: inherit;
438
442
  }
439
443
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-post",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
4
4
  "description": "Edit Post module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -30,18 +30,18 @@
30
30
  "@babel/runtime": "^7.16.0",
31
31
  "@wordpress/a11y": "^4.0.1",
32
32
  "@wordpress/api-fetch": "^7.0.1",
33
- "@wordpress/block-editor": "^13.0.3",
34
- "@wordpress/block-library": "^9.0.4",
33
+ "@wordpress/block-editor": "^13.0.4",
34
+ "@wordpress/block-library": "^9.0.5",
35
35
  "@wordpress/blocks": "^13.0.3",
36
36
  "@wordpress/commands": "^1.0.3",
37
37
  "@wordpress/components": "^28.0.3",
38
38
  "@wordpress/compose": "^7.0.1",
39
- "@wordpress/core-commands": "^1.0.3",
40
- "@wordpress/core-data": "^7.0.3",
39
+ "@wordpress/core-commands": "^1.0.4",
40
+ "@wordpress/core-data": "^7.0.4",
41
41
  "@wordpress/data": "^10.0.2",
42
42
  "@wordpress/deprecated": "^4.0.1",
43
43
  "@wordpress/dom": "^4.0.1",
44
- "@wordpress/editor": "^14.0.3",
44
+ "@wordpress/editor": "^14.0.4",
45
45
  "@wordpress/element": "^6.0.1",
46
46
  "@wordpress/hooks": "^4.0.1",
47
47
  "@wordpress/html-entities": "^4.0.1",
@@ -56,7 +56,7 @@
56
56
  "@wordpress/url": "^4.0.1",
57
57
  "@wordpress/viewport": "^6.0.2",
58
58
  "@wordpress/warning": "^3.0.1",
59
- "@wordpress/widgets": "^4.0.3",
59
+ "@wordpress/widgets": "^4.0.4",
60
60
  "clsx": "^2.1.1",
61
61
  "memize": "^2.1.0"
62
62
  },
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "9dd5f8dcfa4fc7242e5d48be20ee789ad087b432"
70
+ "gitHead": "85486692a3e48b7d863226cf895a21d787434921"
71
71
  }
@@ -1,4 +1,4 @@
1
- .editor-visual-editor {
1
+ .edit-post-layout.has-metaboxes .edit-post-visual-editor {
2
2
  flex: 1 0 auto;
3
3
  height: auto;
4
4
  }
package/src/style.scss CHANGED
@@ -31,11 +31,13 @@ body.js.block-editor-page {
31
31
  }
32
32
  }
33
33
 
34
- // Target the editor UI excluding the visual editor contents, metaboxes and custom fields areas.
34
+ // Target the editor UI excluding the non-iframed visual editor contents, metaboxes
35
+ // and custom fields areas.
35
36
  .editor-header,
36
37
  .editor-text-editor,
37
38
  .editor-sidebar,
38
- .editor-post-publish-panel {
39
+ .editor-post-publish-panel,
40
+ .edit-post-visual-editor.is-iframed {
39
41
  @include reset;
40
42
  }
41
43