diff --git a/content/docs/reference/addon-api/addon.tab/addon.tab.appendToSharedSpace.md b/content/docs/reference/addon-api/addon.tab/addon.tab.appendToSharedSpace.md index 0964f7927..7908f8440 100644 --- a/content/docs/reference/addon-api/addon.tab/addon.tab.appendToSharedSpace.md +++ b/content/docs/reference/addon-api/addon.tab/addon.tab.appendToSharedSpace.md @@ -323,7 +323,7 @@ This space will exist in all situations where a project player also exists. vol-slider Muted project indicator and volume slider 0 - Hidden + Hidden (except muted project indicator) mouse-pos @@ -380,7 +380,88 @@ The order number typically matches the reserved value for `redux.state.scratchGu +#### `paintEditorZoomControls` +Elements added to this space will be positioned before the zoom controls in the paint editor. + +![Shared space image](/assets/img/docs/sharedspace-painteditorzoomcontrols.jpg) + + + + + + + + + + + + + + + + + + +
Space parent elementdiv[class^="paint-editor_zoom-controls"]
Space starting boundNone
Space ending boundZoom controls
scope option used
+ + + + + + + + + + + + + + + + + +
Addon IDElementOrder number
onion-skinningOnion skinning options1
paint-snapSnapping options2
+ ### Scratch website spaces +#### `beforeProjectActionButtons` +Elements added to this space will be positioned before the project action buttons in project pages. + +![Shared space image](/assets/img/docs/sharedspace-beforeprojectactionbuttons.jpg) + +**Typical DOM classes for elements added to this space:** `button`, `action-button` + + + + + + + + + + + + + + + + + + +
Space parent element.flex-row.action-buttons
Space starting boundNone
Space ending bound"Report" button or "Add to Studio" button
scope option used
+ + + + + + + + + + + + +
Addon IDElementOrder number
animated-thumb"Set Thumbnail" button0
+ #### `afterCopyLinkButton` Elements added to this space will be positioned after the "copy link" button in project pages. @@ -415,7 +496,7 @@ Elements added to this space will be positioned after the "copy link" button in remix-tree-button - "Remix tree" button + "Remix Tree" button 0 diff --git a/static/assets/img/docs/sharedspace-beforeprojectactionbuttons.jpg b/static/assets/img/docs/sharedspace-beforeprojectactionbuttons.jpg new file mode 100644 index 000000000..9e9761c47 Binary files /dev/null and b/static/assets/img/docs/sharedspace-beforeprojectactionbuttons.jpg differ diff --git a/static/assets/img/docs/sharedspace-painteditorzoomcontrols.jpg b/static/assets/img/docs/sharedspace-painteditorzoomcontrols.jpg new file mode 100644 index 000000000..0700dcda3 Binary files /dev/null and b/static/assets/img/docs/sharedspace-painteditorzoomcontrols.jpg differ