Skip to content

Commit

Permalink
Update plugins-howto.md
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz authored Sep 3, 2020
1 parent fbb6d99 commit 3b0bf21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/developer-guide/plugins-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ We can change containers relation like this:
This will force the plugin system to choose Container1 instead of Container3, and will override the name property.
There is also a set of options to (dynamically) add/exclude containers:
* **showIn**: can be used to add a plugin to a container or more than one, in addition to the default one (it is an array of container plugin names)
* **hideFrom**: can be used to exclude a plugin from a given container or more than one (it is an array of container plugin names)
* **doNotHide**: can be used to show a plugin in the root container, in addition to the default one
Expand Down Expand Up @@ -665,7 +666,7 @@ export const SamplePlugin = assign(SampleComponent, {
With this configuration the sample plugin will be shown in both Container and ContainerOther plugins (they have the same priority, so both are picked).
We can change this using showIn or hideFrom in localConfig.json:
We can change this using `showIn` or `hideFrom` in `localConfig.json`:
#### localConfig.json
```javascript
{
Expand Down

0 comments on commit 3b0bf21

Please sign in to comment.