@wordpress/editor 14.0.0 → 14.0.1

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.
Files changed (88) hide show
  1. package/build/components/block-settings-menu/content-only-settings-menu.js +14 -5
  2. package/build/components/block-settings-menu/content-only-settings-menu.js.map +1 -1
  3. package/build/components/editor/index.js +83 -0
  4. package/build/components/editor/index.js.map +1 -0
  5. package/build/components/editor-interface/index.js +6 -8
  6. package/build/components/editor-interface/index.js.map +1 -1
  7. package/build/components/header/back-button.js +4 -1
  8. package/build/components/header/back-button.js.map +1 -1
  9. package/build/components/header/index.js +1 -5
  10. package/build/components/header/index.js.map +1 -1
  11. package/build/components/media-categories/index.js +1 -1
  12. package/build/components/media-categories/index.js.map +1 -1
  13. package/build/components/post-actions/actions.js +3 -2
  14. package/build/components/post-actions/actions.js.map +1 -1
  15. package/build/components/post-last-revision/index.js +35 -9
  16. package/build/components/post-last-revision/index.js.map +1 -1
  17. package/build/components/post-preview-button/index.js +1 -0
  18. package/build/components/post-preview-button/index.js.map +1 -1
  19. package/build/components/post-publish-panel/index.js +1 -0
  20. package/build/components/post-publish-panel/index.js.map +1 -1
  21. package/build/components/post-sync-status/index.js +1 -1
  22. package/build/components/post-sync-status/index.js.map +1 -1
  23. package/build/components/post-url/panel.js +25 -3
  24. package/build/components/post-url/panel.js.map +1 -1
  25. package/build/components/provider/disable-non-page-content-blocks.js +5 -3
  26. package/build/components/provider/disable-non-page-content-blocks.js.map +1 -1
  27. package/build/components/sidebar/post-summary.js +2 -1
  28. package/build/components/sidebar/post-summary.js.map +1 -1
  29. package/build/private-apis.js +3 -1
  30. package/build/private-apis.js.map +1 -1
  31. package/build-module/components/block-settings-menu/content-only-settings-menu.js +14 -5
  32. package/build-module/components/block-settings-menu/content-only-settings-menu.js.map +1 -1
  33. package/build-module/components/editor/index.js +76 -0
  34. package/build-module/components/editor/index.js.map +1 -0
  35. package/build-module/components/editor-interface/index.js +6 -8
  36. package/build-module/components/editor-interface/index.js.map +1 -1
  37. package/build-module/components/header/back-button.js +4 -1
  38. package/build-module/components/header/back-button.js.map +1 -1
  39. package/build-module/components/header/index.js +1 -5
  40. package/build-module/components/header/index.js.map +1 -1
  41. package/build-module/components/media-categories/index.js +1 -1
  42. package/build-module/components/media-categories/index.js.map +1 -1
  43. package/build-module/components/post-actions/actions.js +3 -2
  44. package/build-module/components/post-actions/actions.js.map +1 -1
  45. package/build-module/components/post-last-revision/index.js +34 -11
  46. package/build-module/components/post-last-revision/index.js.map +1 -1
  47. package/build-module/components/post-preview-button/index.js +1 -0
  48. package/build-module/components/post-preview-button/index.js.map +1 -1
  49. package/build-module/components/post-publish-panel/index.js +1 -0
  50. package/build-module/components/post-publish-panel/index.js.map +1 -1
  51. package/build-module/components/post-sync-status/index.js +1 -1
  52. package/build-module/components/post-sync-status/index.js.map +1 -1
  53. package/build-module/components/post-url/panel.js +26 -3
  54. package/build-module/components/post-url/panel.js.map +1 -1
  55. package/build-module/components/provider/disable-non-page-content-blocks.js +5 -3
  56. package/build-module/components/provider/disable-non-page-content-blocks.js.map +1 -1
  57. package/build-module/components/sidebar/post-summary.js +2 -1
  58. package/build-module/components/sidebar/post-summary.js.map +1 -1
  59. package/build-module/private-apis.js +3 -1
  60. package/build-module/private-apis.js.map +1 -1
  61. package/build-style/style-rtl.css +28 -41
  62. package/build-style/style.css +28 -41
  63. package/package.json +35 -35
  64. package/src/components/block-settings-menu/content-only-settings-menu.js +26 -12
  65. package/src/components/collapsible-block-toolbar/style.scss +3 -1
  66. package/src/components/editor/index.js +93 -0
  67. package/src/components/editor-interface/index.js +5 -5
  68. package/src/components/editor-interface/style.scss +3 -0
  69. package/src/components/entities-saved-states/style.scss +0 -7
  70. package/src/components/header/back-button.js +6 -1
  71. package/src/components/header/index.js +1 -8
  72. package/src/components/header/style.scss +1 -1
  73. package/src/components/media-categories/index.js +1 -3
  74. package/src/components/post-actions/actions.js +3 -1
  75. package/src/components/post-last-revision/index.js +30 -7
  76. package/src/components/post-last-revision/style.scss +4 -0
  77. package/src/components/post-panel-row/style.scss +1 -0
  78. package/src/components/post-preview-button/index.js +1 -0
  79. package/src/components/post-preview-button/test/index.js +10 -2
  80. package/src/components/post-publish-panel/index.js +1 -0
  81. package/src/components/post-publish-panel/style.scss +28 -36
  82. package/src/components/post-sync-status/index.js +2 -8
  83. package/src/components/post-url/panel.js +13 -5
  84. package/src/components/provider/disable-non-page-content-blocks.js +9 -4
  85. package/src/components/save-publish-panels/style.scss +0 -8
  86. package/src/components/sidebar/post-summary.js +2 -0
  87. package/src/private-apis.js +3 -1
  88. package/src/style.scss +1 -0
@@ -121,8 +121,10 @@ export default function EditorInterface( {
121
121
  <InterfaceSkeleton
122
122
  enableRegionNavigation={ enableRegionNavigation }
123
123
  isDistractionFree={ isDistractionFree && isWideViewport }
124
- className={ clsx( className, {
124
+ className={ clsx( 'editor-editor-interface', className, {
125
125
  'is-entity-save-view-open': !! entitiesSavedStatesCallback,
126
+ 'is-distraction-free':
127
+ isDistractionFree && isWideViewport && ! isPreviewMode,
126
128
  } ) }
127
129
  labels={ {
128
130
  ...interfaceLabels,
@@ -160,7 +162,7 @@ export default function EditorInterface( {
160
162
 
161
163
  <EditorContentSlotFill.Slot>
162
164
  { ( [ editorCanvasView ] ) =>
163
- ! isPreviewMode && editorCanvasView ? (
165
+ editorCanvasView ? (
164
166
  editorCanvasView
165
167
  ) : (
166
168
  <>
@@ -206,9 +208,7 @@ export default function EditorInterface( {
206
208
  isRichEditingEnabled &&
207
209
  blockEditorMode !== 'zoom-out' &&
208
210
  mode === 'visual' && (
209
- <div className="edit-post-layout__footer">
210
- <BlockBreadcrumb rootLabelText={ documentLabel } />
211
- </div>
211
+ <BlockBreadcrumb rootLabelText={ documentLabel } />
212
212
  )
213
213
  }
214
214
  actions={
@@ -0,0 +1,3 @@
1
+ .editor-editor-interface .entities-saved-states__panel-header {
2
+ height: $header-height + $border-width;
3
+ }
@@ -31,13 +31,6 @@
31
31
  }
32
32
  }
33
33
 
34
- .edit-post-layout,
35
- .edit-site-editor__interface-skeleton {
36
- .entities-saved-states__panel-header {
37
- height: $header-height + $border-width;
38
- }
39
- }
40
-
41
34
  .entities-saved-states__post-meta {
42
35
  margin-left: $grid-unit-30;
43
36
  align-items: center;
@@ -20,7 +20,12 @@ const BackButtonSlot = ( { children } ) => {
20
20
  return children;
21
21
  }
22
22
 
23
- return <Slot bubblesVirtually />;
23
+ return (
24
+ <Slot
25
+ bubblesVirtually
26
+ fillProps={ { length: ! fills ? 0 : fills.length } }
27
+ />
28
+ );
24
29
  };
25
30
  BackButton.Slot = BackButtonSlot;
26
31
 
@@ -25,7 +25,6 @@ import MoreMenu from '../more-menu';
25
25
  import PostPreviewButton from '../post-preview-button';
26
26
  import PostPublishButtonOrToggle from '../post-publish-button/post-publish-button-or-toggle';
27
27
  import PostSavedState from '../post-saved-state';
28
- import PostTypeSupportCheck from '../post-type-support-check';
29
28
  import PostViewLink from '../post-view-link';
30
29
  import PreviewDropdown from '../preview-dropdown';
31
30
  import { store as editorStore } from '../../store';
@@ -117,13 +116,7 @@ function Header( {
117
116
  ! isBlockToolsCollapsed && hasTopToolbar,
118
117
  } ) }
119
118
  >
120
- { ! title ? (
121
- <PostTypeSupportCheck supportKeys="title">
122
- <DocumentBar />
123
- </PostTypeSupportCheck>
124
- ) : (
125
- title
126
- ) }
119
+ { ! title ? <DocumentBar /> : title }
127
120
  </div>
128
121
  </motion.div>
129
122
  <motion.div
@@ -190,7 +190,7 @@
190
190
  }
191
191
  }
192
192
 
193
- .is-distraction-free {
193
+ .editor-editor-interface.is-distraction-free {
194
194
  .interface-interface-skeleton__header {
195
195
  border-bottom: none;
196
196
  }
@@ -191,9 +191,7 @@ const inserterMediaCategories = [
191
191
  per_page: 'page_size',
192
192
  search: 'q',
193
193
  };
194
- const url = new URL(
195
- 'https://api.openverse.engineering/v1/images/'
196
- );
194
+ const url = new URL( 'https://api.openverse.org/v1/images/' );
197
195
  Object.entries( finalQuery ).forEach( ( [ key, value ] ) => {
198
196
  const queryKey = mapFromInserterMediaRequest[ key ] || key;
199
197
  url.searchParams.set( queryKey, value );
@@ -1049,6 +1049,7 @@ export function usePostActions( postType, onActionPerformed ) {
1049
1049
  const isPattern = postType === PATTERN_POST_TYPE;
1050
1050
  const isLoaded = !! postTypeObject;
1051
1051
  const supportsRevisions = !! postTypeObject?.supports?.revisions;
1052
+ const supportsTitle = !! postTypeObject?.supports?.title;
1052
1053
  return useMemo( () => {
1053
1054
  if ( ! isLoaded ) {
1054
1055
  return [];
@@ -1064,7 +1065,7 @@ export function usePostActions( postType, onActionPerformed ) {
1064
1065
  : false,
1065
1066
  isTemplateOrTemplatePart && duplicateTemplatePartAction,
1066
1067
  isPattern && duplicatePatternAction,
1067
- renamePostAction,
1068
+ supportsTitle && renamePostAction,
1068
1069
  isPattern && exportPatternAsJSONAction,
1069
1070
  isTemplateOrTemplatePart ? resetTemplateAction : restorePostAction,
1070
1071
  isTemplateOrTemplatePart || isPattern
@@ -1124,5 +1125,6 @@ export function usePostActions( postType, onActionPerformed ) {
1124
1125
  onActionPerformed,
1125
1126
  isLoaded,
1126
1127
  supportsRevisions,
1128
+ supportsTitle,
1127
1129
  ] );
1128
1130
  }
@@ -11,15 +11,11 @@ import { addQueryArgs } from '@wordpress/url';
11
11
  * Internal dependencies
12
12
  */
13
13
  import PostLastRevisionCheck from './check';
14
+ import PostPanelRow from '../post-panel-row';
14
15
  import { store as editorStore } from '../../store';
15
16
 
16
- /**
17
- * Renders the component for displaying the last revision of a post.
18
- *
19
- * @return {Component} The component to be rendered.
20
- */
21
- function PostLastRevision() {
22
- const { lastRevisionId, revisionsCount } = useSelect( ( select ) => {
17
+ function usePostLastRevisionInfo() {
18
+ return useSelect( ( select ) => {
23
19
  const { getCurrentPostLastRevisionId, getCurrentPostRevisionsCount } =
24
20
  select( editorStore );
25
21
  return {
@@ -27,6 +23,15 @@ function PostLastRevision() {
27
23
  revisionsCount: getCurrentPostRevisionsCount(),
28
24
  };
29
25
  }, [] );
26
+ }
27
+
28
+ /**
29
+ * Renders the component for displaying the last revision of a post.
30
+ *
31
+ * @return {Component} The component to be rendered.
32
+ */
33
+ function PostLastRevision() {
34
+ const { lastRevisionId, revisionsCount } = usePostLastRevisionInfo();
30
35
 
31
36
  return (
32
37
  <PostLastRevisionCheck>
@@ -47,4 +52,22 @@ function PostLastRevision() {
47
52
  );
48
53
  }
49
54
 
55
+ export function PrivatePostLastRevision() {
56
+ const { lastRevisionId, revisionsCount } = usePostLastRevisionInfo();
57
+ return (
58
+ <PostLastRevisionCheck>
59
+ <PostPanelRow label={ __( 'Revisions' ) }>
60
+ <Button
61
+ href={ addQueryArgs( 'revision.php', {
62
+ revision: lastRevisionId,
63
+ } ) }
64
+ className="editor-private-post-last-revision__button"
65
+ text={ revisionsCount }
66
+ variant="tertiary"
67
+ />
68
+ </PostPanelRow>
69
+ </PostLastRevisionCheck>
70
+ );
71
+ }
72
+
50
73
  export default PostLastRevision;
@@ -28,3 +28,7 @@
28
28
  padding: $grid-unit-20;
29
29
  }
30
30
  }
31
+
32
+ .editor-private-post-last-revision__button {
33
+ display: inline-block;
34
+ }
@@ -25,6 +25,7 @@
25
25
  .components-button {
26
26
  max-width: 100%;
27
27
  text-align: left;
28
+ text-wrap: balance; // Fallback for Safari.
28
29
  text-wrap: pretty;
29
30
  height: auto;
30
31
  min-height: $button-size-compact;
@@ -183,6 +183,7 @@ export default function PostPreviewButton( {
183
183
  className={ className || 'editor-post-preview' }
184
184
  href={ href }
185
185
  target={ targetId }
186
+ __experimentalIsFocusable
186
187
  disabled={ ! isSaveable }
187
188
  onClick={ openPreviewWindow }
188
189
  role={ role }
@@ -139,12 +139,16 @@ describe( 'PostPreviewButton', () => {
139
139
  ).toBeInTheDocument();
140
140
  } );
141
141
 
142
- it( 'should be disabled if post is not saveable.', () => {
142
+ it( 'should be accessibly disabled if post is not saveable.', () => {
143
143
  mockUseSelect( { isEditedPostSaveable: () => false } );
144
144
 
145
145
  render( <PostPreviewButton /> );
146
146
 
147
- expect( screen.getByRole( 'button' ) ).toBeDisabled();
147
+ expect( screen.getByRole( 'button' ) ).toBeEnabled();
148
+ expect( screen.getByRole( 'button' ) ).toHaveAttribute(
149
+ 'aria-disabled',
150
+ 'true'
151
+ );
148
152
  } );
149
153
 
150
154
  it( 'should not be disabled if post is saveable.', () => {
@@ -153,6 +157,10 @@ describe( 'PostPreviewButton', () => {
153
157
  render( <PostPreviewButton /> );
154
158
 
155
159
  expect( screen.getByRole( 'button' ) ).toBeEnabled();
160
+ expect( screen.getByRole( 'button' ) ).not.toHaveAttribute(
161
+ 'aria-disabled',
162
+ 'true'
163
+ );
156
164
  } );
157
165
 
158
166
  it( 'should set `href` to edited post preview link if specified.', () => {
@@ -93,6 +93,7 @@ export class PostPublishPanel extends Component {
93
93
  </div>
94
94
  <div className="editor-post-publish-panel__header-cancel-button">
95
95
  <Button
96
+ __experimentalIsFocusable
96
97
  disabled={ isSavingNonPostEntityChanges }
97
98
  onClick={ onClose }
98
99
  variant="secondary"
@@ -1,7 +1,3 @@
1
- .editor-post-publish-panel {
2
- background: $white;
3
- }
4
-
5
1
  .editor-post-publish-panel__content {
6
2
  // Ensure the post-publish panel accounts for the header and footer height.
7
3
  min-height: calc(100% - #{$header-height + 84px});
@@ -71,6 +67,7 @@
71
67
 
72
68
  .editor-post-publish-panel__header-publish-button {
73
69
  padding-right: $grid-unit-05;
70
+ justify-content: center;
74
71
  }
75
72
 
76
73
  .editor-post-publish-panel__header-cancel-button {
@@ -122,6 +119,7 @@
122
119
 
123
120
  .components-panel__body-title .components-button {
124
121
  align-items: flex-start;
122
+ text-wrap: balance; // Fallback for Safari.
125
123
  text-wrap: pretty;
126
124
  }
127
125
  }
@@ -194,40 +192,34 @@
194
192
  }
195
193
  }
196
194
 
197
- .edit-post-layout,
198
- .edit-site-editor__interface-skeleton {
199
- .editor-post-publish-panel {
200
- position: fixed;
201
- z-index: z-index(".edit-post-layout .edit-post-post-publish-panel");
202
- top: $admin-bar-height-big;
203
- bottom: 0;
204
- right: 0;
205
- left: 0;
206
- overflow: auto;
207
-
208
- @include break-medium() {
209
- z-index: z-index(".edit-post-layout .edit-post-post-publish-panel {greater than small}");
210
- top: $admin-bar-height;
211
- left: auto;
212
- width: $sidebar-width + $border-width;
213
- border-left: $border-width solid $gray-300;
214
- transform: translateX(+100%);
215
- animation: editor-post-publish-panel__slide-in-animation 0.1s forwards;
216
- @include reduce-motion("animation");
217
-
218
- body.is-fullscreen-mode & {
219
- top: 0;
220
- }
221
-
222
- // Keep it open on focus to avoid conflict with navigate-regions animation.
223
- [role="region"]:focus & {
224
- transform: translateX(0%);
225
- }
195
+ .editor-post-publish-panel {
196
+ position: fixed;
197
+ z-index: z-index(".editor-post-publish-panel");
198
+ background: $white;
199
+ top: 0;
200
+ bottom: 0;
201
+ right: 0;
202
+ left: 0;
203
+ overflow: auto;
204
+
205
+ @include break-medium() {
206
+ z-index: z-index(".editor-post-publish-panel {greater than small}");
207
+ top: $admin-bar-height;
208
+ left: auto;
209
+ width: $sidebar-width + $border-width;
210
+ border-left: $border-width solid $gray-300;
211
+ transform: translateX(+100%);
212
+ animation: editor-post-publish-panel__slide-in-animation 0.1s forwards;
213
+ @include reduce-motion("animation");
214
+
215
+ body.is-fullscreen-mode & {
216
+ top: 0;
226
217
  }
227
- }
228
218
 
229
- .editor-post-publish-panel__header-publish-button {
230
- justify-content: center;
219
+ // Keep it open on focus to avoid conflict with navigate-regions animation.
220
+ [role="region"]:focus & {
221
+ transform: translateX(0%);
222
+ }
231
223
  }
232
224
  }
233
225
 
@@ -35,14 +35,8 @@ export default function PostSyncStatus() {
35
35
  <PostPanelRow label={ __( 'Sync status' ) }>
36
36
  <div className="editor-post-sync-status__value">
37
37
  { syncStatus === 'unsynced'
38
- ? _x(
39
- 'Not synced',
40
- 'Text that indicates that the pattern is not synchronized'
41
- )
42
- : _x(
43
- 'Synced',
44
- 'Text that indicates that the pattern is synchronized'
45
- ) }
38
+ ? _x( 'Not synced', 'pattern (singular)' )
39
+ : _x( 'Synced', 'pattern (singular)' ) }
46
40
  </div>
47
41
  </PostPanelRow>
48
42
  );
@@ -6,6 +6,7 @@ import { useSelect } from '@wordpress/data';
6
6
  import { Dropdown, Button } from '@wordpress/components';
7
7
  import { __, sprintf } from '@wordpress/i18n';
8
8
  import { safeDecodeURIComponent } from '@wordpress/url';
9
+ import { store as coreStore } from '@wordpress/core-data';
9
10
 
10
11
  /**
11
12
  * Internal dependencies
@@ -58,10 +59,17 @@ export default function PostURLPanel() {
58
59
  }
59
60
 
60
61
  function PostURLToggle( { isOpen, onClick } ) {
61
- const slug = useSelect(
62
- ( select ) => select( editorStore ).getEditedPostSlug(),
63
- []
64
- );
62
+ const { slug, isFrontPage, postLink } = useSelect( ( select ) => {
63
+ const { getCurrentPostId, getCurrentPost } = select( editorStore );
64
+ const { getEditedEntityRecord } = select( coreStore );
65
+ const siteSettings = getEditedEntityRecord( 'root', 'site' );
66
+ const _id = getCurrentPostId();
67
+ return {
68
+ slug: select( editorStore ).getEditedPostSlug(),
69
+ isFrontPage: siteSettings?.page_on_front === _id,
70
+ postLink: getCurrentPost()?.link,
71
+ };
72
+ }, [] );
65
73
  const decodedSlug = safeDecodeURIComponent( slug );
66
74
  return (
67
75
  <Button
@@ -73,7 +81,7 @@ function PostURLToggle( { isOpen, onClick } ) {
73
81
  aria-label={ sprintf( __( 'Change link: %s' ), decodedSlug ) }
74
82
  onClick={ onClick }
75
83
  >
76
- /{ decodedSlug }
84
+ { isFrontPage ? postLink : <>/{ decodedSlug }</> }
77
85
  </Button>
78
86
  );
79
87
  }
@@ -6,31 +6,36 @@ import { store as blockEditorStore } from '@wordpress/block-editor';
6
6
  import { useEffect } from '@wordpress/element';
7
7
  import { applyFilters } from '@wordpress/hooks';
8
8
 
9
- const CONTENT_ONLY_BLOCKS = applyFilters( 'editor.postContentBlockTypes', [
9
+ const DEFAULT_CONTENT_ONLY_BLOCKS = [
10
10
  'core/post-title',
11
11
  'core/post-featured-image',
12
12
  'core/post-content',
13
13
  'core/template-part',
14
- ] );
14
+ ];
15
15
 
16
16
  /**
17
17
  * Component that when rendered, makes it so that the site editor allows only
18
18
  * page content to be edited.
19
19
  */
20
20
  export default function DisableNonPageContentBlocks() {
21
+ const contentOnlyBlocks = applyFilters(
22
+ 'editor.postContentBlockTypes',
23
+ DEFAULT_CONTENT_ONLY_BLOCKS
24
+ );
25
+
21
26
  // Note that there are two separate subscription because the result for each
22
27
  // returns a new array.
23
28
  const contentOnlyIds = useSelect( ( select ) => {
24
29
  const { getBlocksByName, getBlockParents, getBlockName } =
25
30
  select( blockEditorStore );
26
- return getBlocksByName( CONTENT_ONLY_BLOCKS ).filter( ( clientId ) =>
31
+ return getBlocksByName( contentOnlyBlocks ).filter( ( clientId ) =>
27
32
  getBlockParents( clientId ).every( ( parentClientId ) => {
28
33
  const parentBlockName = getBlockName( parentClientId );
29
34
  return (
30
35
  // Ignore descendents of the query block.
31
36
  parentBlockName !== 'core/query' &&
32
37
  // Enable only the top-most block.
33
- ! CONTENT_ONLY_BLOCKS.includes( parentBlockName )
38
+ ! contentOnlyBlocks.includes( parentBlockName )
34
39
  );
35
40
  } )
36
41
  );
@@ -26,11 +26,3 @@
26
26
  bottom: 0;
27
27
  }
28
28
  }
29
-
30
- .edit-post-layout__toggle-sidebar-panel {
31
- .interface-interface-skeleton__sidebar:focus &,
32
- .interface-interface-skeleton__sidebar:focus-within & {
33
- top: auto;
34
- bottom: 0;
35
- }
36
- }
@@ -30,6 +30,7 @@ import PostsPerPage from '../posts-per-page';
30
30
  import SiteDiscussion from '../site-discussion';
31
31
  import { store as editorStore } from '../../store';
32
32
  import TemplateAreas from '../template-areas';
33
+ import { PrivatePostLastRevision } from '../post-last-revision';
33
34
 
34
35
  /**
35
36
  * Module Constants
@@ -76,6 +77,7 @@ export default function PostSummary( { onActionPerformed } ) {
76
77
  <PostAuthorPanel />
77
78
  <PostTemplatePanel />
78
79
  <PostDiscussionPanel />
80
+ <PrivatePostLastRevision />
79
81
  <PageAttributesPanel />
80
82
  <PostSyncStatus />
81
83
  <BlogTitle />
@@ -12,8 +12,9 @@ import { EntitiesSavedStatesExtensible } from './components/entities-saved-state
12
12
  import EditorContentSlotFill from './components/editor-interface/content-slot-fill';
13
13
  import useBlockEditorSettings from './components/provider/use-block-editor-settings';
14
14
  import BackButton from './components/header/back-button';
15
- import EditorInterface from './components/editor-interface';
16
15
  import CreateTemplatePartModal from './components/create-template-part-modal';
16
+ import Editor from './components/editor';
17
+ import EditorInterface from './components/editor-interface';
17
18
  import PluginPostExcerpt from './components/post-excerpt/plugin';
18
19
  import PreferencesModal from './components/preferences-modal';
19
20
  import { usePostActions } from './components/post-actions/actions';
@@ -34,6 +35,7 @@ lock( privateApis, {
34
35
  BackButton,
35
36
  ExperimentalEditorProvider,
36
37
  EntitiesSavedStatesExtensible,
38
+ Editor,
37
39
  EditorInterface,
38
40
  EditorContentSlotFill,
39
41
  GlobalStylesProvider,
package/src/style.scss CHANGED
@@ -9,6 +9,7 @@
9
9
  @import "./components/document-bar/style.scss";
10
10
  @import "./components/document-outline/style.scss";
11
11
  @import "./components/document-tools/style.scss";
12
+ @import "./components/editor-interface/style.scss";
12
13
  @import "./components/editor-notices/style.scss";
13
14
  @import "./components/entities-saved-states/style.scss";
14
15
  @import "./components/error-boundary/style.scss";