Skip to content
Draft
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
10 changes: 5 additions & 5 deletions docs/source/tags/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ When you annotate image regions with this tag, the annotations are saved as perc
| --- | --- | --- | --- |
| name | <code>string</code> | | Name of the element |
| value | <code>string</code> | | Data field containing a path or URL to the image |
| [valueList] | <code>string</code> | | References a variable that holds a list of image URLs |
| [smoothing] | <code>boolean</code> | | Enable smoothing, by default it uses user settings |
| [width] | <code>string</code> | <code>&quot;100%&quot;</code> | Image width |
| [maxWidth] | <code>string</code> | <code>&quot;750px&quot;</code> | Maximum image width |
Expand All @@ -32,11 +33,10 @@ When you annotate image regions with this tag, the annotations are saved as perc
| [contrastControl] | <code>boolean</code> | <code>false</code> | Show contrast control in toolbar |
| [rotateControl] | <code>boolean</code> | <code>false</code> | Show rotate control in toolbar |
| [crosshair] | <code>boolean</code> | <code>false</code> | Show crosshair cursor |
| [horizontalAlignment] | <code>string</code> | <code>&quot;left&quot;</code> | Where to align image horizontally. Can be one of "left", "center" or "right" |
| [verticalAlignment] | <code>string</code> | <code>&quot;top&quot;</code> | Where to align image vertically. Can be one of "top", "center" or "bottom" |
| [defaultZoom] | <code>string</code> | <code>&quot;fit&quot;</code> | Specify the initial zoom of the image within the viewport while preserving it’s ratio. Can be one of "auto", "original" or "fit" |
| [valuelist] | <code>string</code> | | References a variable that holds a list of image URLs |
| [crossOrigin] | <code>string</code> | <code>&quot;none&quot;</code> | Configures CORS cross domain behavior for this image, either "none", "anonymous", or "use-credentials", similar to [DOM `img` crossOrigin property](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin). |
| [horizontalAlignment] | <code>left</code> \| <code>center</code> \| <code>right</code> | <code>left</code> | Where to align image horizontally. Can be one of "left", "center", or "right" |
| [verticalAlignment] | <code>top</code> \| <code>center</code> \| <code>bottom</code> | <code>top</code> | Where to align image vertically. Can be one of "top", "center", or "bottom" |
| [defaultZoom] | <code>auto</code> \| <code>original</code> \| <code>fit</code> | <code>fit</code> | Specify the initial zoom of the image within the viewport while preserving its ratio. Can be one of "auto", "original", or "fit" |
| [crossOrigin] | <code>none</code> \| <code>anonymous</code> \| <code>use-credentials</code> | <code>none</code> | Configures CORS cross domain behavior for this image, either "none", "anonymous", or "use-credentials", similar to [DOM `img` crossOrigin property](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/crossOrigin). |

### Example

Expand Down
6 changes: 3 additions & 3 deletions docs/source/tags/paragraphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Use with the following data types: text.
| name | <code>string</code> | | Name of the element |
| value | <code>string</code> | | Data field containing the paragraph content |
| [valueType] | <code>json</code> \| <code>url</code> | <code>json</code> | Whether the data is stored directly in uploaded JSON data or needs to be loaded from a URL |
| audioUrl | <code>string</code> | | Audio to sync phrases with |
| [sync] | <code>string</code> | | object name to sync with |
| [audioUrl] | <code>string</code> | | Audio to sync phrases with |
| [sync] | <code>string</code> | | Object name to sync with |
| [showPlayer] | <code>boolean</code> | <code>false</code> | Whether to show audio player above the paragraphs. Ignored if sync object is audio |
| [saveTextResult] | <code>no</code> \| <code>yes</code> | <code>yes</code> | Whether to store labeled text along with the results. By default, doesn't store text for `valueType=url` |
| [layout] | <code>none</code> \| <code>dialogue</code> | <code>none</code> | Whether to use a dialogue-style layout or not |
Expand All @@ -34,7 +34,7 @@ Use with the following data types: text.
| --- | --- | --- |
| value | <code>Object</code> | |
| value.start | <code>number</code> | index of paragraph where the region starts |
| value.end | <code>number</code> | index of paragraph where the region ends (xpath) |
| value.end | <code>number</code> | index of paragraph where the region ends |
| value.startOffset | <code>number</code> | offset within start paragraph |
| value.endOffset | <code>number</code> | offset within end paragraph |
| [value.text] | <code>string</code> | text content of the region, can be skipped |
Expand Down
2 changes: 1 addition & 1 deletion label_studio/frontend/dist/lsf/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion label_studio/frontend/dist/lsf/js/main.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions label_studio/frontend/dist/lsf/version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"message": "fix: LEAP-345: Fix taxonomy items collapsing when dropdown is closed",
"commit": "fcdc1df7b09877c684fb95c07625a0ad0bc1d58a",
"branch": "master",
"date": "2023/11/07 11:01:17"
"message": "feat: LEAP-54: Move editor e2e tests to the new LS monorepo",
"commit": "d743c817330d5cab9e2bad5d6ae86fd3f26bbf82",
"branch": "fb-leap-54-2",
"date": "2023/11/09 20:33:15"
}