| name |
string |
|
Name of the element |
| value |
string |
|
Value of the element |
| [valueType] |
url | text |
text |
Whether the text is stored directly in uploaded data or needs to be loaded from a URL |
| [inline] |
boolean |
false |
Whether to embed HTML directly in Label Studio or use an iframe |
| [saveTextResult] |
yes | no |
|
Whether to store labeled text along with the results. By default, doesn't store text for valueType=url |
| [encoding] |
none | base64 | base64unicode |
|
How to decode values from encoded strings |
| [selectionEnabled] |
boolean |
true |
Enable or disable selection |
| [clickableLinks] |
boolean |
false |
Whether to allow opening resources from links in the hypertext markup. |
| [highlightColor] |
string |
|
Hex string with highlight color, if not provided uses the labels color |
| [showLabels] |
boolean |
|
Whether or not to show labels next to the region; unset (by default) — use editor settings; true/false — override settings |
| [granularity] |
symbol | word | sentence | paragraph |
|
Control region selection granularity |