Skip to content

Commit 8d97839

Browse files
authored
docs: use consistent naming for default_contents in documentation (#111)
1 parent 1fc6aa8 commit 8d97839

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ the ``keepDefault`` boolean in the slot should be set to ``true``. For organizat
163163
(and therefore aren't defining a slot via JS config), ``keepDefault`` will default to ``true``, thus ensuring that the developer
164164
experience isn't affected; the only change to note is that the component is now wrapped in a Plugin Slot.
165165

166-
If you need to use a plugin operation (e.g. Wrap, Hide, Modify) on default content, the ``widgetId`` you would use to refer to the content is ``defaults_contents``.
166+
If you need to use a plugin operation (e.g. Wrap, Hide, Modify) on default content, the ``widgetId`` you would use to refer to the content is ``default_contents``.
167167

168168
Note: The default content will have a priority of 50, allowing for any plugins to appear before or after the default content.
169169

@@ -271,7 +271,7 @@ one wrap operation. Each wrapper function takes in a ``component`` and ``id`` pr
271271
272272
{
273273
op: PLUGIN_OPERATIONS.Wrap,
274-
widgetId: 'default_content_in_slot',
274+
widgetId: 'default_contents',
275275
wrapper: wrapWidget,
276276
}
277277

0 commit comments

Comments
 (0)