Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/docs links #10189

Merged
merged 3 commits into from Sep 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 22 additions & 1 deletion docs/data/data-core-editor.md
Expand Up @@ -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
Expand Down Expand Up @@ -1633,4 +1646,12 @@ Returns an action object used in signalling that the editor settings have been u

*Parameters*

* settings: Updated settings
* 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.
6 changes: 3 additions & 3 deletions edit-post/README.md
Expand Up @@ -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

Expand Down Expand Up @@ -49,7 +49,7 @@ const doOnClick = ( ) => {
};

const MyPluginBlockSettingsMenuItem = () => (
<PluginBlockSettingsMenuItem
<PluginBlockSettingsMenuItem
allowedBlockNames=[ 'core/paragraph' ]
icon='dashicon-name'
label=__( 'Menu item text' )
Expand Down Expand Up @@ -424,7 +424,7 @@ Title displayed at the top of the panel.

##### initialOpen

Whether to have the panel initially opened. When no title is provided it is always opened.
Whether to have the panel initially opened. When no title is provided it is always opened.

- Type: `Boolean`
- Required: No
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/README.md
Expand Up @@ -29,7 +29,7 @@ This method takes two arguments:
or an element (or function returning an element) if you choose to render your own SVG.
- `render`: A component containing the UI elements to be rendered.

See [the edit-post module documentation](../edit-post/) for available components.
See [the edit-post module documentation](../../edit-post/) for available components.

_Example:_
{% codetabs %}
Expand Down