diff --git a/docs/data/data-core-editor.md b/docs/data/data-core-editor.md index 295cbcde3f1460..405022aafd29e2 100644 --- a/docs/data/data-core-editor.md +++ b/docs/data/data-core-editor.md @@ -1253,6 +1253,19 @@ Returns whether or not the user has the unfiltered_html capability. Whether the user can or can't post unfiltered HTML. +### isPublishSidebarEnabled + +Returns whether the pre-publish panel should be shown +or skipped when the user clicks the "publish" button. + +*Parameters* + + * state: Global application state. + +*Returns* + +Whether the pre-publish panel should be shown or not. + ## Actions ### setupEditor @@ -1633,4 +1646,12 @@ Returns an action object used in signalling that the editor settings have been u *Parameters* - * settings: Updated settings \ No newline at end of file + * settings: Updated settings + +### enablePublishSidebar + +Returns an action object used in signalling that the user has enabled the publish sidebar. + +### disablePublishSidebar + +Returns an action object used in signalling that the user has disabled the publish sidebar. \ No newline at end of file diff --git a/edit-post/README.md b/edit-post/README.md index f03ae16000e0c6..74db4920f4c047 100644 --- a/edit-post/README.md +++ b/edit-post/README.md @@ -2,7 +2,7 @@ Extending the editor UI can be accomplished with the `registerPlugin` API, allowing you to define all your plugin's UI elements in one place. -Refer to [the plugins module documentation](../plugins/) for more information. +Refer to [the plugins module documentation](../packages/plugins/) for more information. ## Plugin Components @@ -49,7 +49,7 @@ const doOnClick = ( ) => { }; const MyPluginBlockSettingsMenuItem = () => ( -