Skip to content

Commit 62a8a5e

Browse files
authoredMar 8, 2025··
Update addon manifest docs (#515)
1 parent 532dea0 commit 62a8a5e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
 

‎content/docs/reference/addon-manifest.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ Addons must have one of these tags. No less than one, no more than one.
100100
<td>✔️</td>
101101
<td>Scratch editor features</td>
102102
</tr>
103+
<tr>
104+
<td><code>player</code></td>
105+
<td>✔️</td>
106+
<td>Project player features</td>
107+
</tr>
103108
<tr>
104109
<td><code>popup</code></td>
105110
<td>✔️</td>
@@ -136,11 +141,6 @@ Addon authors can usually determine these tags themselves.
136141
<td>✔️</td>
137142
<td>Addons that mainly affect the Backdrops/Costumes tab of the editor.</td>
138143
</tr>
139-
<tr>
140-
<td><code>projectPlayer</code></td>
141-
<td>✔️</td>
142-
<td>Addons that affect the project player in both the website and editor, or that add UI elements above the stage.</td>
143-
</tr>
144144
<tr>
145145
<td><code>editorMenuBar</code></td>
146146
<td>❌</td>
@@ -375,6 +375,7 @@ Sub-properties:
375375
- `table`: A list of elements, where the user can add custom elements, remove existing ones and change order of them
376376
- `select`: See `potential_values`
377377
- `default` (string, required) The default value for the option. A boolean, string, or number, depending on the specified type.
378+
- `desciption` (string, optional) The description for the option, shown as a tooltip.
378379
- `min`/`max` (number, optional for `positive_integer`, `integer`, and `string` types only) For integers, the minimum/maximum value allowed, and for strings, the minimum/maximum allowed length of the value.
379380
- `potentialValues` (array of objects, required for `select` type only) Array of objects, with properties `id`, the value received from `addon.settings.get()`, and `name`, the user-visible option text.
380381
- `allowTransparency` (boolean, required for `color` type only) Whether the user should be allowed to enter transparent colors or not.

0 commit comments

Comments
 (0)
Please sign in to comment.