Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix formatting in Taxonomy tag params #6977

Merged
merged 2 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -85,7 +85,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
Loading