Skip to content

Commit d5d2997

Browse files
Replaced gif with video on testing panel
1 parent 8cfd3e5 commit d5d2997

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

docs/source/plugins/custom.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,16 @@ To avoid multiple event subscriptions (and, consequently, multiple handler trigg
3636

3737
It is important to test and refine plugins using a test project first to avoid any disruptions on live projects.
3838

39-
When you add a plugin, the **Testing** panel appears below the script field. You can use this to test the plugin with sample data, trigger events, and see what events are triggered when you interact with the sample data.
39+
When you add a plugin, the **Testing** panel appears below the script field. You can use this to test the plugin with sample data, manually trigger events, and see what events are triggered as you interact with the sample data.
4040

41-
![Gif of testing panel](/images/plugins/testing.gif)
41+
<video src="../images/plugins/test.mp4" controls="controls" style="max-width: 800px;" class="gif-border" />
4242

4343
Note the following:
4444

45+
* The **Testing** panel does not appear until you add a plugin and does not appear if you have validation errors in your labeling config, so check the **Code** panel to ensure there are no errors.
4546
* You can also use the Console tab in your web browser’s developer tools to check for errors and verify the plugin is running.
4647
* You can check the Network tab (plugin information is returned with the `/project/:id` API call).
47-
* If necessary, ou can add [`debugger`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger) to your script to have a convenient breakpoint to debug the plugin using your web browser’s developer tools.
48+
* If necessary, you can add [`debugger`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger) to your script to have a convenient breakpoint to debug the plugin using your web browser’s developer tools.
4849

4950
## Label Studio Interface (LSI)
5051

6.27 MB
Binary file not shown.
-684 KB
Binary file not shown.

0 commit comments

Comments
 (0)