Skip to content

Commit

Permalink
docs: Fix formatting in Taxonomy tag params (#6977)
Browse files Browse the repository at this point in the history
Co-authored-by: caitlinwheeless <[email protected]>
Co-authored-by: robot-ci-heartex <[email protected]>
  • Loading branch information
3 people authored Feb 24, 2025
1 parent e86a522 commit 87ced23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/tags/taxonomy.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Use with the following data types: audio, image, HTML, paragraphs, text, time se
| [placeholder=] | <code>string</code> | | What to display as prompt on the input |
| [perRegion] | <code>boolean</code> | | Use this tag to classify specific regions instead of the whole object |
| [perItem] | <code>boolean</code> | | Use this tag to classify specific items inside the object instead of the whole object |
| [labeling] | <code>boolean</code> | | Use taxonomy to label regions in text. Only supported with <Text> and <HyperText> object tags. |
| [labeling] | <code>boolean</code> | | Use taxonomy to label regions in text. Only supported with `<Text>` and `<HyperText>` object tags. |
| [legacy] | <code>boolean</code> | | Use this tag to enable the legacy version of the Taxonomy tag. The legacy version supports the ability for annotators to add labels as needed. However, when true, the `apiUrl` parameter is not usable. |

### Example
Expand Down
2 changes: 1 addition & 1 deletion web/libs/editor/src/tags/control/Taxonomy/Taxonomy.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import { errorBuilder } from "../../../core/DataValidator/ConfigValidator";
* @param {string} [placeholder=] - What to display as prompt on the input
* @param {boolean} [perRegion] - Use this tag to classify specific regions instead of the whole object
* @param {boolean} [perItem] - Use this tag to classify specific items inside the object instead of the whole object
* @param {boolean} [labeling] - Use taxonomy to label regions in text. Only supported with <Text> and <HyperText> object tags.
* @param {boolean} [labeling] - Use taxonomy to label regions in text. Only supported with `<Text>` and `<HyperText>` object tags.
* @param {boolean} [legacy] - Use this tag to enable the legacy version of the Taxonomy tag. The legacy version supports the ability for annotators to add labels as needed. However, when true, the `apiUrl` parameter is not usable.
*/
const TagAttrs = types.model({
Expand Down

0 comments on commit 87ced23

Please sign in to comment.