[MNT-24553] Allow custom viewer extension components to obtain node id (#10115)

This commit is contained in:
MichalKinas
2024-08-22 17:38:32 +02:00
committed by GitHub
parent 8d7ea71711
commit 4124efd4a0
9 changed files with 21 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ an example of a real working viewer extension project.
| ---- | ---- | ------------- | ----------- |
| extension | `string` | | File extension (.jpg, .png, etc) for the viewer. |
| id | `string` | | ID string of the component to preview. |
| nodeId | `string` | null | Identifier of a node opened by a viewer. |
| url | `string` | | URL of the content in the repository. |
## Details